home *** CD-ROM | disk | FTP | other *** search
Emacs Compiled Lisp | 1998-10-28 | 15.3 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: Emacs Compiled Lisp
(other/emacsCompiledLisp).
This format is not currently supported by dexvert.
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 13 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 72 6d 73 40 6d 6f 6c |piled by| rms@mol|
|00000020| 65 2e 67 6e 75 2e 61 69 | 2e 6d 69 74 2e 65 64 75 |e.gnu.ai|.mit.edu|
|00000030| 20 6f 6e 20 46 72 69 20 | 4d 61 72 20 32 32 20 30 | on Fri |Mar 22 0|
|00000040| 39 3a 31 33 3a 33 35 20 | 31 39 39 36 0a 3b 3b 3b |9:13:35 |1996.;;;|
|00000050| 20 66 72 6f 6d 20 66 69 | 6c 65 20 2f 68 6f 6d 65 | from fi|le /home|
|00000060| 2f 66 73 66 2f 72 6d 73 | 2f 65 31 39 2f 6c 69 73 |/fsf/rms|/e19/lis|
|00000070| 70 2f 69 6e 66 2d 6c 69 | 73 70 2e 65 6c 0a 3b 3b |p/inf-li|sp.el.;;|
|00000080| 3b 20 65 6d 61 63 73 20 | 76 65 72 73 69 6f 6e 20 |; emacs |version |
|00000090| 31 39 2e 33 30 2e 39 34 | 2e 32 2e 0a 3b 3b 3b 20 |19.30.94|.2..;;; |
|000000a0| 62 79 74 65 63 6f 6d 70 | 20 76 65 72 73 69 6f 6e |bytecomp| version|
|000000b0| 20 46 53 46 20 32 2e 31 | 30 0a 3b 3b 3b 20 6f 70 | FSF 2.1|0.;;; op|
|000000c0| 74 69 6d 69 7a 61 74 69 | 6f 6e 20 69 73 20 6f 6e |timizati|on is on|
|000000d0| 2e 0a 3b 3b 3b 20 74 68 | 69 73 20 66 69 6c 65 20 |..;;; th|is file |
|000000e0| 75 73 65 73 20 6f 70 63 | 6f 64 65 73 20 77 68 69 |uses opc|odes whi|
|000000f0| 63 68 20 64 6f 20 6e 6f | 74 20 65 78 69 73 74 20 |ch do no|t exist |
|00000100| 69 6e 20 45 6d 61 63 73 | 20 31 38 2e 0a 0a 28 69 |in Emacs| 18...(i|
|00000110| 66 20 28 61 6e 64 20 28 | 62 6f 75 6e 64 70 20 27 |f (and (|boundp '|
|00000120| 65 6d 61 63 73 2d 76 65 | 72 73 69 6f 6e 29 0a 09 |emacs-ve|rsion)..|
|00000130| 20 28 6f 72 20 28 61 6e | 64 20 28 62 6f 75 6e 64 | (or (an|d (bound|
|00000140| 70 20 27 65 70 6f 63 68 | 3a 3a 76 65 72 73 69 6f |p 'epoch|::versio|
|00000150| 6e 29 20 65 70 6f 63 68 | 3a 3a 76 65 72 73 69 6f |n) epoch|::versio|
|00000160| 6e 29 0a 09 20 20 20 20 | 20 28 73 74 72 69 6e 67 |n).. | (string|
|00000170| 2d 6c 65 73 73 70 20 65 | 6d 61 63 73 2d 76 65 72 |-lessp e|macs-ver|
|00000180| 73 69 6f 6e 20 22 31 39 | 2e 32 39 22 29 29 29 0a |sion "19|.29"))).|
|00000190| 20 20 20 20 28 65 72 72 | 6f 72 20 22 60 69 6e 66 | (err|or "`inf|
|000001a0| 2d 6c 69 73 70 2e 65 6c | 27 20 77 61 73 20 63 6f |-lisp.el|' was co|
|000001b0| 6d 70 69 6c 65 64 20 66 | 6f 72 20 45 6d 61 63 73 |mpiled f|or Emacs|
|000001c0| 20 31 39 2e 32 39 20 6f | 72 20 6c 61 74 65 72 22 | 19.29 o|r later"|
|000001d0| 29 29 0a 0a 0a 28 62 79 | 74 65 2d 63 6f 64 65 20 |))...(by|te-code |
|000001e0| 22 c0 c1 21 88 c0 c2 21 | 87 22 20 5b 72 65 71 75 |"..!...!|." [requ|
|000001f0| 69 72 65 20 63 6f 6d 69 | 6e 74 20 6c 69 73 70 2d |ire comi|nt lisp-|
|00000200| 6d 6f 64 65 5d 20 32 29 | 0a 23 40 32 32 39 20 2a |mode] 2)|.#@229 *|
|00000210| 57 68 61 74 20 6e 6f 74 | 20 74 6f 20 73 61 76 65 |What not| to save|
|00000220| 20 6f 6e 20 69 6e 66 65 | 72 69 6f 72 20 4c 69 73 | on infe|rior Lis|
|00000230| 70 27 73 20 69 6e 70 75 | 74 20 68 69 73 74 6f 72 |p's inpu|t histor|
|00000240| 79 2e 0a 49 6e 70 75 74 | 20 6d 61 74 63 68 69 6e |y..Input| matchin|
|00000250| 67 20 74 68 69 73 20 72 | 65 67 65 78 70 20 69 73 |g this r|egexp is|
|00000260| 20 6e 6f 74 20 73 61 76 | 65 64 20 6f 6e 20 74 68 | not sav|ed on th|
|00000270| 65 20 69 6e 70 75 74 20 | 68 69 73 74 6f 72 79 20 |e input |history |
|00000280| 69 6e 20 49 6e 66 65 72 | 69 6f 72 20 4c 69 73 70 |in Infer|ior Lisp|
|00000290| 0a 6d 6f 64 65 2e 20 20 | 44 65 66 61 75 6c 74 20 |.mode. |Default |
|000002a0| 69 73 20 77 68 69 74 65 | 73 70 61 63 65 20 66 6f |is white|space fo|
|000002b0| 6c 6c 6f 77 65 64 20 62 | 79 20 30 20 6f 72 20 31 |llowed b|y 0 or 1|
|000002c0| 20 73 69 6e 67 6c 65 2d | 6c 65 74 74 65 72 20 63 | single-|letter c|
|000002d0| 6f 6c 6f 6e 2d 6b 65 79 | 77 6f 72 64 20 0a 28 61 |olon-key|word .(a|
|000002e0| 73 20 69 6e 20 3a 61 2c | 20 3a 63 2c 20 65 74 63 |s in :a,| :c, etc|
|000002f0| 2e 29 1f 0a 28 64 65 66 | 76 61 72 20 69 6e 66 65 |.)..(def|var infe|
|00000300| 72 69 6f 72 2d 6c 69 73 | 70 2d 66 69 6c 74 65 72 |rior-lis|p-filter|
|00000310| 2d 72 65 67 65 78 70 20 | 22 5c 5c 60 5c 5c 73 20 |-regexp |"\\`\\s |
|00000320| 2a 5c 5c 28 3a 5c 5c 28 | 5c 5c 77 5c 5c 7c 5c 5c |*\\(:\\(|\\w\\|\\|
|00000330| 73 5f 5c 5c 29 5c 5c 29 | 3f 5c 5c 73 20 2a 5c 5c |s_\\)\\)|?\\s *\\|
|00000340| 27 22 20 28 23 24 20 2e | 20 2d 35 32 37 29 29 0a |'" (#$ .| -527)).|
|00000350| 28 62 79 74 65 2d 63 6f | 64 65 20 22 c0 c1 21 84 |(byte-co|de "..!.|
|00000360| 08 00 c2 11 c1 0b 42 13 | 09 84 43 00 c4 0d 21 89 |......B.|..C...!.|
|00000370| 11 0e 06 a4 11 c7 09 c8 | c9 23 88 c7 09 ca cb 23 |........|.#.....#|
|00000380| 88 c7 09 cc cd 23 88 c7 | 09 ce cf 23 88 c7 09 d0 |.....#..|...#....|
|00000390| d1 23 88 c7 09 d2 d3 23 | 88 c7 09 d4 d5 23 88 c7 |.#.....#|.....#..|
|000003a0| 0e 16 d7 d8 23 88 c7 0e | 16 c8 c9 23 88 c7 0e 16 |....#...|...#....|
|000003b0| d9 d8 23 88 c7 0e 16 da | db 23 88 c7 0e 16 dc dd |..#.....|.#......|
|000003c0| 23 88 c7 0e 16 de df 23 | 88 c7 0e 16 ca cb 23 88 |#......#|......#.|
|000003d0| c7 0e 16 cc cd 23 88 c7 | 0e 16 ce cf 23 88 c7 0e |.....#..|....#...|
|000003e0| 16 d0 d1 23 88 c7 0e 16 | d2 d3 23 88 c7 0e 16 d4 |...#....|..#.....|
|000003f0| d5 23 87 22 20 5b 62 6f | 75 6e 64 70 20 69 6e 66 |.#." [bo|undp inf|
|00000400| 65 72 69 6f 72 2d 6c 69 | 73 70 2d 6d 6f 64 65 2d |erior-li|sp-mode-|
|00000410| 6d 61 70 20 6e 69 6c 20 | 63 75 72 72 65 6e 74 2d |map nil |current-|
|00000420| 6c 6f 61 64 2d 6c 69 73 | 74 20 63 6f 70 79 2d 6b |load-lis|t copy-k|
|00000430| 65 79 6d 61 70 20 63 6f | 6d 69 6e 74 2d 6d 6f 64 |eymap co|mint-mod|
|00000440| 65 2d 6d 61 70 20 73 68 | 61 72 65 64 2d 6c 69 73 |e-map sh|ared-lis|
|00000450| 70 2d 6d 6f 64 65 2d 6d | 61 70 20 64 65 66 69 6e |p-mode-m|ap defin|
|00000460| 65 2d 6b 65 79 20 22 18 | 05 22 20 6c 69 73 70 2d |e-key ".|." lisp-|
|00000470| 65 76 61 6c 2d 6c 61 73 | 74 2d 73 65 78 70 20 22 |eval-las|t-sexp "|
|00000480| 03 5c 66 22 20 6c 69 73 | 70 2d 6c 6f 61 64 2d 66 |.\f" lis|p-load-f|
|00000490| 69 6c 65 20 22 03 0b 22 | 20 6c 69 73 70 2d 63 6f |ile ".."| lisp-co|
|000004a0| 6d 70 69 6c 65 2d 66 69 | 6c 65 20 22 03 01 22 20 |mpile-fi|le ".." |
|000004b0| 6c 69 73 70 2d 73 68 6f | 77 2d 61 72 67 6c 69 73 |lisp-sho|w-arglis|
|000004c0| 74 20 22 03 04 22 20 6c | 69 73 70 2d 64 65 73 63 |t ".." l|isp-desc|
|000004d0| 72 69 62 65 2d 73 79 6d | 20 22 03 06 22 20 6c 69 |ribe-sym| ".." li|
|000004e0| 73 70 2d 73 68 6f 77 2d | 66 75 6e 63 74 69 6f 6e |sp-show-|function|
|000004f0| 2d 64 6f 63 75 6d 65 6e | 74 61 74 69 6f 6e 20 22 |-documen|tation "|
|00000500| 03 16 22 20 6c 69 73 70 | 2d 73 68 6f 77 2d 76 61 |.." lisp|-show-va|
|00000510| 72 69 61 62 6c 65 2d 64 | 6f 63 75 6d 65 6e 74 61 |riable-d|ocumenta|
|00000520| 74 69 6f 6e 20 6c 69 73 | 70 2d 6d 6f 64 65 2d 6d |tion lis|p-mode-m|
|00000530| 61 70 20 22 98 22 20 6c | 69 73 70 2d 65 76 61 6c |ap "." l|isp-eval|
|00000540| 2d 64 65 66 75 6e 20 22 | 03 05 22 20 22 03 12 22 |-defun "|.." ".."|
|00000550| 20 6c 69 73 70 2d 65 76 | 61 6c 2d 72 65 67 69 6f | lisp-ev|al-regio|
|00000560| 6e 20 22 03 03 22 20 6c | 69 73 70 2d 63 6f 6d 70 |n ".." l|isp-comp|
|00000570| 69 6c 65 2d 64 65 66 75 | 6e 20 22 03 1a 22 20 73 |ile-defu|n ".." s|
|00000580| 77 69 74 63 68 2d 74 6f | 2d 6c 69 73 70 5d 20 35 |witch-to|-lisp] 5|
|00000590| 29 0a 28 64 65 66 61 6c | 69 61 73 20 27 69 6e 66 |).(defal|ias 'inf|
|000005a0| 65 72 69 6f 72 2d 6c 69 | 73 70 2d 69 6e 73 74 61 |erior-li|sp-insta|
|000005b0| 6c 6c 2d 6c 65 74 74 65 | 72 2d 62 69 6e 64 69 6e |ll-lette|r-bindin|
|000005c0| 67 73 20 23 5b 6e 69 6c | 20 22 c0 09 c2 c3 23 88 |gs #[nil| "....#.|
|000005d0| c0 09 c4 c5 23 88 c0 09 | c6 c7 23 88 c0 09 c8 c9 |....#...|..#.....|
|000005e0| 23 88 c0 09 ca cb 23 88 | c0 09 cc cd 23 88 c0 09 |#.....#.|....#...|
|000005f0| ce cf 23 88 c0 09 d0 d1 | 23 88 c0 09 d2 d3 23 88 |..#.....|#.....#.|
|00000600| c0 09 d4 d5 23 88 c0 0e | 16 ca cb 23 88 c0 0e 16 |....#...|...#....|
|00000610| cc cd 23 88 c0 0e 16 ce | cf 23 88 c0 0e 16 d0 d1 |..#.....|.#......|
|00000620| 23 88 c0 0e 16 d2 d3 23 | 88 c0 0e 16 d4 d5 23 87 |#......#|......#.|
|00000630| 22 20 5b 64 65 66 69 6e | 65 2d 6b 65 79 20 6c 69 |" [defin|e-key li|
|00000640| 73 70 2d 6d 6f 64 65 2d | 6d 61 70 20 22 03 65 22 |sp-mode-|map ".e"|
|00000650| 20 6c 69 73 70 2d 65 76 | 61 6c 2d 64 65 66 75 6e | lisp-ev|al-defun|
|00000660| 2d 61 6e 64 2d 67 6f 20 | 22 03 72 22 20 6c 69 73 |-and-go |".r" lis|
|00000670| 70 2d 65 76 61 6c 2d 72 | 65 67 69 6f 6e 2d 61 6e |p-eval-r|egion-an|
|00000680| 64 2d 67 6f 20 22 03 63 | 22 20 6c 69 73 70 2d 63 |d-go ".c|" lisp-c|
|00000690| 6f 6d 70 69 6c 65 2d 64 | 65 66 75 6e 2d 61 6e 64 |ompile-d|efun-and|
|000006a0| 2d 67 6f 20 22 03 7a 22 | 20 73 77 69 74 63 68 2d |-go ".z"| switch-|
|000006b0| 74 6f 2d 6c 69 73 70 20 | 22 03 6c 22 20 6c 69 73 |to-lisp |".l" lis|
|000006c0| 70 2d 6c 6f 61 64 2d 66 | 69 6c 65 20 22 03 6b 22 |p-load-f|ile ".k"|
|000006d0| 20 6c 69 73 70 2d 63 6f | 6d 70 69 6c 65 2d 66 69 | lisp-co|mpile-fi|
|000006e0| 6c 65 20 22 03 61 22 20 | 6c 69 73 70 2d 73 68 6f |le ".a" |lisp-sho|
|000006f0| 77 2d 61 72 67 6c 69 73 | 74 20 22 03 64 22 20 6c |w-arglis|t ".d" l|
|00000700| 69 73 70 2d 64 65 73 63 | 72 69 62 65 2d 73 79 6d |isp-desc|ribe-sym|
|00000710| 20 22 03 66 22 20 6c 69 | 73 70 2d 73 68 6f 77 2d | ".f" li|sp-show-|
|00000720| 66 75 6e 63 74 69 6f 6e | 2d 64 6f 63 75 6d 65 6e |function|-documen|
|00000730| 74 61 74 69 6f 6e 20 22 | 03 76 22 20 6c 69 73 70 |tation "|.v" lisp|
|00000740| 2d 73 68 6f 77 2d 76 61 | 72 69 61 62 6c 65 2d 64 |-show-va|riable-d|
|00000750| 6f 63 75 6d 65 6e 74 61 | 74 69 6f 6e 20 69 6e 66 |ocumenta|tion inf|
|00000760| 65 72 69 6f 72 2d 6c 69 | 73 70 2d 6d 6f 64 65 2d |erior-li|sp-mode-|
|00000770| 6d 61 70 5d 20 34 5d 29 | 0a 23 40 37 34 20 2a 50 |map] 4])|.#@74 *P|
|00000780| 72 6f 67 72 61 6d 20 6e | 61 6d 65 20 66 6f 72 20 |rogram n|ame for |
|00000790| 69 6e 76 6f 6b 69 6e 67 | 20 61 6e 20 69 6e 66 65 |invoking| an infe|
|000007a0| 72 69 6f 72 20 4c 69 73 | 70 20 77 69 74 68 20 66 |rior Lis|p with f|
|000007b0| 6f 72 20 49 6e 66 65 72 | 69 6f 72 20 4c 69 73 70 |or Infer|ior Lisp|
|000007c0| 20 6d 6f 64 65 2e 1f 0a | 28 64 65 66 76 61 72 20 | mode...|(defvar |
|000007d0| 69 6e 66 65 72 69 6f 72 | 2d 6c 69 73 70 2d 70 72 |inferior|-lisp-pr|
|000007e0| 6f 67 72 61 6d 20 22 6c | 69 73 70 22 20 28 23 24 |ogram "l|isp" (#$|
|000007f0| 20 2e 20 2d 31 39 31 38 | 29 29 0a 23 40 34 32 35 | . -1918|)).#@425|
|00000800| 20 2a 46 6f 72 6d 61 74 | 2d 73 74 72 69 6e 67 20 | *Format|-string |
|00000810| 66 6f 72 20 62 75 69 6c | 64 69 6e 67 20 61 20 4c |for buil|ding a L|
|00000820| 69 73 70 20 65 78 70 72 | 65 73 73 69 6f 6e 20 74 |isp expr|ession t|
|00000830| 6f 20 6c 6f 61 64 20 61 | 20 66 69 6c 65 2e 0a 54 |o load a| file..T|
|00000840| 68 69 73 20 66 6f 72 6d | 61 74 20 73 74 72 69 6e |his form|at strin|
|00000850| 67 20 73 68 6f 75 6c 64 | 20 75 73 65 20 60 25 73 |g should| use `%s|
|00000860| 27 20 74 6f 20 73 75 62 | 73 74 69 74 75 74 65 20 |' to sub|stitute |
|00000870| 61 20 66 69 6c 65 20 6e | 61 6d 65 0a 61 6e 64 20 |a file n|ame.and |
|00000880| 73 68 6f 75 6c 64 20 72 | 65 73 75 6c 74 20 69 6e |should r|esult in|
|00000890| 20 61 20 4c 69 73 70 20 | 65 78 70 72 65 73 73 69 | a Lisp |expressi|
|000008a0| 6f 6e 20 74 68 61 74 20 | 77 69 6c 6c 20 63 6f 6d |on that |will com|
|000008b0| 6d 61 6e 64 20 74 68 65 | 20 69 6e 66 65 72 69 6f |mand the| inferio|
|000008c0| 72 20 4c 69 73 70 0a 74 | 6f 20 6c 6f 61 64 20 74 |r Lisp.t|o load t|
|000008d0| 68 61 74 20 66 69 6c 65 | 2e 20 20 54 68 65 20 64 |hat file|. The d|
|000008e0| 65 66 61 75 6c 74 20 77 | 6f 72 6b 73 20 61 63 63 |efault w|orks acc|
|000008f0| 65 70 74 61 62 6c 79 20 | 6f 6e 20 6d 6f 73 74 20 |eptably |on most |
|00000900| 4c 69 73 70 73 2e 0a 54 | 68 65 20 73 74 72 69 6e |Lisps..T|he strin|
|00000910| 67 20 22 28 70 72 6f 67 | 6e 20 28 6c 6f 61 64 20 |g "(prog|n (load |
|00000920| 5c 22 25 73 5c 22 20 3a | 76 65 72 62 6f 73 65 20 |\"%s\" :|verbose |
|00000930| 6e 69 6c 20 3a 70 72 69 | 6e 74 20 74 29 20 28 76 |nil :pri|nt t) (v|
|00000940| 61 6c 75 65 73 29 29 5c | 6e 22 0a 70 72 6f 64 75 |alues))\|n".produ|
|00000950| 63 65 73 20 63 6f 73 6d | 65 74 69 63 61 6c 6c 79 |ces cosm|etically|
|00000960| 20 73 75 70 65 72 69 6f | 72 20 6f 75 74 70 75 74 | superio|r output|
|00000970| 20 66 6f 72 20 74 68 69 | 73 20 61 70 70 6c 69 63 | for thi|s applic|
|00000980| 61 74 69 6f 6e 2c 0a 62 | 75 74 20 69 74 20 77 6f |ation,.b|ut it wo|
|00000990| 72 6b 73 20 6f 6e 6c 79 | 20 69 6e 20 43 6f 6d 6d |rks only| in Comm|
|000009a0| 6f 6e 20 4c 69 73 70 2e | 1f 0a 28 64 65 66 76 61 |on Lisp.|..(defva|
|000009b0| 72 20 69 6e 66 65 72 69 | 6f 72 2d 6c 69 73 70 2d |r inferi|or-lisp-|
|000009c0| 6c 6f 61 64 2d 63 6f 6d | 6d 61 6e 64 20 22 28 6c |load-com|mand "(l|
|000009d0| 6f 61 64 20 5c 22 25 73 | 5c 22 29 5c 6e 22 20 28 |oad \"%s|\")\n" (|
|000009e0| 23 24 20 2e 20 2d 32 30 | 34 39 29 29 0a 23 40 33 |#$ . -20|49)).#@3|
|000009f0| 39 31 20 52 65 67 65 78 | 70 20 74 6f 20 72 65 63 |91 Regex|p to rec|
|00000a00| 6f 67 6e 69 73 65 20 70 | 72 6f 6d 70 74 73 20 69 |ognise p|rompts i|
|00000a10| 6e 20 74 68 65 20 49 6e | 66 65 72 69 6f 72 20 4c |n the In|ferior L|
|00000a20| 69 73 70 20 6d 6f 64 65 | 2e 0a 44 65 66 61 75 6c |isp mode|..Defaul|
|00000a30| 74 73 20 74 6f 20 22 5e | 5b 5e 3e 20 5c 6e 5d 2a |ts to "^|[^> \n]*|
|00000a40| 3e 2b 3a 3f 20 2a 22 2c | 20 77 68 69 63 68 20 77 |>+:? *",| which w|
|00000a50| 6f 72 6b 73 20 70 72 65 | 74 74 79 20 67 6f 6f 64 |orks pre|tty good|
|00000a60| 20 66 6f 72 20 4c 75 63 | 69 64 2c 20 6b 63 6c 2c | for Luc|id, kcl,|
|00000a70| 0a 61 6e 64 20 66 72 61 | 6e 7a 2e 20 20 54 68 69 |.and fra|nz. Thi|
|00000a80| 73 20 76 61 72 69 61 62 | 6c 65 20 69 73 20 75 73 |s variab|le is us|
|00000a90| 65 64 20 74 6f 20 69 6e | 69 74 69 61 6c 69 7a 65 |ed to in|itialize|
|00000aa0| 20 60 63 6f 6d 69 6e 74 | 2d 70 72 6f 6d 70 74 2d | `comint|-prompt-|
|00000ab0| 72 65 67 65 78 70 27 20 | 69 6e 20 74 68 65 20 0a |regexp' |in the .|
|00000ac0| 49 6e 66 65 72 69 6f 72 | 20 4c 69 73 70 20 62 75 |Inferior| Lisp bu|
|00000ad0| 66 66 65 72 2e 0a 0a 4d | 6f 72 65 20 70 72 65 63 |ffer...M|ore prec|
|00000ae0| 69 73 65 20 63 68 6f 69 | 63 65 73 3a 0a 4c 75 63 |ise choi|ces:.Luc|
|00000af0| 69 64 20 43 6f 6d 6d 6f | 6e 20 4c 69 73 70 3a 20 |id Commo|n Lisp: |
|00000b00| 22 5e 5c 5c 28 3e 5c 5c | 7c 5c 5c 28 2d 3e 5c 5c |"^\\(>\\||\\(->\\|
|00000b10| 29 2b 5c 5c 29 20 2a 22 | 0a 66 72 61 6e 7a 3a 20 |)+\\) *"|.franz: |
|00000b20| 22 5e 5c 5c 28 2d 3e 5c | 5c 7c 3c 5b 30 2d 39 5d |"^\\(->\|\|<[0-9]|
|00000b30| 2a 3e 3a 5c 5c 29 20 2a | 22 0a 6b 63 6c 3a 20 22 |*>:\\) *|".kcl: "|
|00000b40| 5e 3e 2b 20 2a 22 0a 0a | 54 68 69 73 20 69 73 20 |^>+ *"..|This is |
|00000b50| 61 20 66 69 6e 65 20 74 | 68 69 6e 67 20 74 6f 20 |a fine t|hing to |
|00000b60| 73 65 74 20 69 6e 20 79 | 6f 75 72 20 2e 65 6d 61 |set in y|our .ema|
|00000b70| 63 73 20 66 69 6c 65 2e | 1f 0a 28 64 65 66 76 61 |cs file.|..(defva|
|00000b80| 72 20 69 6e 66 65 72 69 | 6f 72 2d 6c 69 73 70 2d |r inferi|or-lisp-|
|00000b90| 70 72 6f 6d 70 74 20 22 | 5e 5b 5e 3e 20 5c 6e 5d |prompt "|^[^> \n]|
|00000ba0| 2a 3e 2b 3a 3f 20 2a 22 | 20 28 23 24 20 2e 20 32 |*>+:? *"| (#$ . 2|
|00000bb0| 35 34 37 29 29 0a 23 40 | 31 36 36 38 20 2a 54 68 |547)).#@|1668 *Th|
|00000bc0| 65 20 63 75 72 72 65 6e | 74 20 69 6e 66 65 72 69 |e curren|t inferi|
|00000bd0| 6f 72 2d 6c 69 73 70 20 | 70 72 6f 63 65 73 73 20 |or-lisp |process |
|00000be0| 62 75 66 66 65 72 2e 0a | 0a 4d 55 4c 54 49 50 4c |buffer..|.MULTIPL|
|00000bf0| 45 20 50 52 4f 43 45 53 | 53 20 53 55 50 50 4f 52 |E PROCES|S SUPPOR|
|00000c00| 54 0a 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |T.======|========|
|00000c10| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000c20| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000c30| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000c40| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 0a 54 6f |========|=====.To|
|00000c50| 20 72 75 6e 20 6d 75 6c | 74 69 70 6c 65 20 4c 69 | run mul|tiple Li|
|00000c60| 73 70 20 70 72 6f 63 65 | 73 73 65 73 2c 20 79 6f |sp proce|sses, yo|
|00000c70| 75 20 73 74 61 72 74 20 | 74 68 65 20 66 69 72 73 |u start |the firs|
|00000c80| 74 20 75 70 0a 77 69 74 | 68 20 5c 5b 69 6e 66 65 |t up.wit|h \[infe|
|00000c90| 72 69 6f 72 2d 6c 69 73 | 70 5d 2e 20 20 49 74 20 |rior-lis|p]. It |
|00000ca0| 77 69 6c 6c 20 62 65 20 | 69 6e 20 61 20 62 75 66 |will be |in a buf|
|00000cb0| 66 65 72 20 6e 61 6d 65 | 64 20 60 2a 69 6e 66 65 |fer name|d `*infe|
|00000cc0| 72 69 6f 72 2d 6c 69 73 | 70 2a 27 2e 0a 52 65 6e |rior-lis|p*'..Ren|
|00000cd0| 61 6d 65 20 74 68 69 73 | 20 62 75 66 66 65 72 20 |ame this| buffer |
|00000ce0| 77 69 74 68 20 5c 5b 72 | 65 6e 61 6d 65 2d 62 75 |with \[r|ename-bu|
|00000cf0| 66 66 65 72 5d 2e 20 20 | 59 6f 75 20 6d 61 79 20 |ffer]. |You may |
|00000d00| 6e 6f 77 20 73 74 61 72 | 74 20 75 70 20 61 20 6e |now star|t up a n|
|00000d10| 65 77 0a 70 72 6f 63 65 | 73 73 20 77 69 74 68 20 |ew.proce|ss with |
|00000d20| 61 6e 6f 74 68 65 72 20 | 5c 5b 69 6e 66 65 72 69 |another |\[inferi|
|00000d30| 6f 72 2d 6c 69 73 70 5d | 2e 20 20 49 74 20 77 69 |or-lisp]|. It wi|
|00000d40| 6c 6c 20 62 65 20 69 6e | 20 61 20 6e 65 77 20 62 |ll be in| a new b|
|00000d50| 75 66 66 65 72 2c 0a 6e | 61 6d 65 64 20 60 2a 69 |uffer,.n|amed `*i|
|00000d60| 6e 66 65 72 69 6f 72 2d | 6c 69 73 70 2a 27 2e 20 |nferior-|lisp*'. |
|00000d70| 20 59 6f 75 20 63 61 6e | 20 73 77 69 74 63 68 20 | You can| switch |
|00000d80| 62 65 74 77 65 65 6e 20 | 74 68 65 20 64 69 66 66 |between |the diff|
|00000d90| 65 72 65 6e 74 20 70 72 | 6f 63 65 73 73 0a 62 75 |erent pr|ocess.bu|
|00000da0| 66 66 65 72 73 20 77 69 | 74 68 20 5c 5b 73 77 69 |ffers wi|th \[swi|
|00000db0| 74 63 68 2d 74 6f 2d 62 | 75 66 66 65 72 5d 2e 0a |tch-to-b|uffer]..|
|00000dc0| 0a 43 6f 6d 6d 61 6e 64 | 73 20 74 68 61 74 20 73 |.Command|s that s|
|00000dd0| 65 6e 64 20 74 65 78 74 | 20 66 72 6f 6d 20 73 6f |end text| from so|
|00000de0| 75 72 63 65 20 62 75 66 | 66 65 72 73 20 74 6f 20 |urce buf|fers to |
|00000df0| 4c 69 73 70 20 70 72 6f | 63 65 73 73 65 73 20 2d |Lisp pro|cesses -|
|00000e00| 2d 0a 6c 69 6b 65 20 60 | 6c 69 73 70 2d 65 76 61 |-.like `|lisp-eva|
|00000e10| 6c 2d 64 65 66 75 6e 27 | 20 6f 72 20 60 6c 69 73 |l-defun'| or `lis|
|00000e20| 70 2d 73 68 6f 77 2d 61 | 72 67 6c 69 73 74 27 20 |p-show-a|rglist' |
|00000e30| 2d 2d 20 68 61 76 65 20 | 74 6f 20 63 68 6f 6f 73 |-- have |to choos|
|00000e40| 65 20 61 20 70 72 6f 63 | 65 73 73 0a 74 6f 20 73 |e a proc|ess.to s|
|00000e50| 65 6e 64 20 74 6f 2c 20 | 77 68 65 6e 20 79 6f 75 |end to, |when you|
|00000e60| 20 68 61 76 65 20 6d 6f | 72 65 20 74 68 61 6e 20 | have mo|re than |
|00000e70| 6f 6e 65 20 4c 69 73 70 | 20 70 72 6f 63 65 73 73 |one Lisp| process|
|00000e80| 20 61 72 6f 75 6e 64 2e | 20 20 54 68 69 73 0a 69 | around.| This.i|
|00000e90| 73 20 64 65 74 65 72 6d | 69 6e 65 64 20 62 79 20 |s determ|ined by |
|00000ea0| 74 68 65 20 67 6c 6f 62 | 61 6c 20 76 61 72 69 61 |the glob|al varia|
|00000eb0| 62 6c 65 20 60 69 6e 66 | 65 72 69 6f 72 2d 6c 69 |ble `inf|erior-li|
|00000ec0| 73 70 2d 62 75 66 66 65 | 72 27 2e 20 20 53 75 70 |sp-buffe|r'. Sup|
|00000ed0| 70 6f 73 65 20 79 6f 75 | 0a 68 61 76 65 20 74 68 |pose you|.have th|
|00000ee0| 72 65 65 20 69 6e 66 65 | 72 69 6f 72 20 4c 69 73 |ree infe|rior Lis|
|00000ef0| 70 73 20 72 75 6e 6e 69 | 6e 67 3a 0a 20 20 20 20 |ps runni|ng:. |
|00000f00| 42 75 66 66 65 72 20 20 | 20 20 20 20 20 20 20 20 |Buffer | |
|00000f10| 20 20 20 20 50 72 6f 63 | 65 73 73 0a 20 20 20 20 | Proc|ess. |
|00000f20| 66 6f 6f 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |foo | |
|00000f30| 20 20 20 20 69 6e 66 65 | 72 69 6f 72 2d 6c 69 73 | infe|rior-lis|
|00000f40| 70 0a 20 20 20 20 62 61 | 72 20 20 20 20 20 20 20 |p. ba|r |
|00000f50| 20 20 20 20 20 20 20 20 | 20 20 69 6e 66 65 72 69 | | inferi|
|00000f60| 6f 72 2d 6c 69 73 70 3c | 32 3e 0a 20 20 20 20 2a |or-lisp<|2>. *|
|00000f70| 69 6e 66 65 72 69 6f 72 | 2d 6c 69 73 70 2a 20 20 |inferior|-lisp* |
|00000f80| 20 20 20 69 6e 66 65 72 | 69 6f 72 2d 6c 69 73 70 | infer|ior-lisp|
|00000f90| 3c 33 3e 0a 49 66 20 79 | 6f 75 20 64 6f 20 61 20 |<3>.If y|ou do a |
|00000fa0| 5c 5b 6c 69 73 70 2d 65 | 76 61 6c 2d 64 65 66 75 |\[lisp-e|val-defu|
|00000fb0| 6e 5d 20 63 6f 6d 6d 61 | 6e 64 20 6f 6e 20 73 6f |n] comma|nd on so|
|00000fc0| 6d 65 20 4c 69 73 70 20 | 73 6f 75 72 63 65 20 63 |me Lisp |source c|
|00000fd0| 6f 64 65 2c 20 0a 77 68 | 61 74 20 70 72 6f 63 65 |ode, .wh|at proce|
|00000fe0| 73 73 20 64 6f 20 79 6f | 75 20 73 65 6e 64 20 69 |ss do yo|u send i|
|00000ff0| 74 20 74 6f 3f 0a 0a 2d | 20 49 66 20 79 6f 75 27 |t to?..-| If you'|
|00001000| 72 65 20 69 6e 20 61 20 | 70 72 6f 63 65 73 73 20 |re in a |process |
|00001010| 62 75 66 66 65 72 20 28 | 66 6f 6f 2c 20 62 61 72 |buffer (|foo, bar|
|00001020| 2c 20 6f 72 20 2a 69 6e | 66 65 72 69 6f 72 2d 6c |, or *in|ferior-l|
|00001030| 69 73 70 2a 29 2c 20 0a | 20 20 79 6f 75 20 73 65 |isp*), .| you se|
|00001040| 6e 64 20 69 74 20 74 6f | 20 74 68 61 74 20 70 72 |nd it to| that pr|
|00001050| 6f 63 65 73 73 2e 0a 2d | 20 49 66 20 79 6f 75 27 |ocess..-| If you'|
|00001060| 72 65 20 69 6e 20 73 6f | 6d 65 20 6f 74 68 65 72 |re in so|me other|
|00001070| 20 62 75 66 66 65 72 20 | 28 65 2e 67 2e 2c 20 61 | buffer |(e.g., a|
|00001080| 20 73 6f 75 72 63 65 20 | 66 69 6c 65 29 2c 20 79 | source |file), y|
|00001090| 6f 75 0a 20 20 73 65 6e | 64 20 69 74 20 74 6f 20 |ou. sen|d it to |
|000010a0| 74 68 65 20 70 72 6f 63 | 65 73 73 20 61 74 74 61 |the proc|ess atta|
|000010b0| 63 68 65 64 20 74 6f 20 | 62 75 66 66 65 72 20 60 |ched to |buffer `|
|000010c0| 69 6e 66 65 72 69 6f 72 | 2d 6c 69 73 70 2d 62 75 |inferior|-lisp-bu|
|000010d0| 66 66 65 72 27 2e 0a 54 | 68 69 73 20 70 72 6f 63 |ffer'..T|his proc|
|000010e0| 65 73 73 20 73 65 6c 65 | 63 74 69 6f 6e 20 69 73 |ess sele|ction is|
|000010f0| 20 70 65 72 66 6f 72 6d | 65 64 20 62 79 20 66 75 | perform|ed by fu|
|00001100| 6e 63 74 69 6f 6e 20 60 | 69 6e 66 65 72 69 6f 72 |nction `|inferior|
|00001110| 2d 6c 69 73 70 2d 70 72 | 6f 63 27 2e 0a 0a 57 68 |-lisp-pr|oc'...Wh|
|00001120| 65 6e 65 76 65 72 20 5c | 5b 69 6e 66 65 72 69 6f |enever \|[inferio|
|00001130| 72 2d 6c 69 73 70 5d 20 | 66 69 72 65 73 20 75 70 |r-lisp] |fires up|
|00001140| 20 61 20 6e 65 77 20 70 | 72 6f 63 65 73 73 2c 20 | a new p|rocess, |
|00001150| 69 74 20 72 65 73 65 74 | 73 0a 60 69 6e 66 65 72 |it reset|s.`infer|
|00001160| 69 6f 72 2d 6c 69 73 70 | 2d 62 75 66 66 65 72 27 |ior-lisp|-buffer'|
|00001170| 20 74 6f 20 62 65 20 74 | 68 65 20 6e 65 77 20 70 | to be t|he new p|
|00001180| 72 6f 63 65 73 73 27 73 | 20 62 75 66 66 65 72 2e |rocess's| buffer.|
|00001190| 20 20 49 66 20 79 6f 75 | 20 6f 6e 6c 79 20 72 75 | If you| only ru|
|000011a0| 6e 0a 6f 6e 65 20 70 72 | 6f 63 65 73 73 2c 20 74 |n.one pr|ocess, t|
|000011b0| 68 69 73 20 64 6f 65 73 | 20 74 68 65 20 72 69 67 |his does| the rig|
|000011c0| 68 74 20 74 68 69 6e 67 | 2e 20 20 49 66 20 79 6f |ht thing|. If yo|
|000011d0| 75 20 72 75 6e 20 6d 75 | 6c 74 69 70 6c 65 0a 70 |u run mu|ltiple.p|
|000011e0| 72 6f 63 65 73 73 65 73 | 2c 20 79 6f 75 20 63 61 |rocesses|, you ca|
|000011f0| 6e 20 63 68 61 6e 67 65 | 20 60 69 6e 66 65 72 69 |n change| `inferi|
|00001200| 6f 72 2d 6c 69 73 70 2d | 62 75 66 66 65 72 27 20 |or-lisp-|buffer' |
|00001210| 74 6f 20 61 6e 6f 74 68 | 65 72 20 70 72 6f 63 65 |to anoth|er proce|
|00001220| 73 73 0a 62 75 66 66 65 | 72 20 77 69 74 68 20 5c |ss.buffe|r with \|
|00001230| 5b 73 65 74 2d 76 61 72 | 69 61 62 6c 65 5d 2e 1f |[set-var|iable]..|
|00001240| 0a 28 64 65 66 76 61 72 | 20 69 6e 66 65 72 69 6f |.(defvar| inferio|
|00001250| 72 2d 6c 69 73 70 2d 62 | 75 66 66 65 72 20 6e 69 |r-lisp-b|uffer ni|
|00001260| 6c 20 28 23 24 20 2e 20 | 2d 33 30 30 35 29 29 0a |l (#$ . |-3005)).|
|00001270| 23 40 34 33 20 2a 48 6f | 6f 6b 20 66 6f 72 20 63 |#@43 *Ho|ok for c|
|00001280| 75 73 74 6f 6d 69 73 69 | 6e 67 20 49 6e 66 65 72 |ustomisi|ng Infer|
|00001290| 69 6f 72 20 4c 69 73 70 | 20 6d 6f 64 65 2e 1f 0a |ior Lisp| mode...|
|000012a0| 28 64 65 66 76 61 72 20 | 69 6e 66 65 72 69 6f 72 |(defvar |inferior|
|000012b0| 2d 6c 69 73 70 2d 6d 6f | 64 65 2d 68 6f 6f 6b 20 |-lisp-mo|de-hook |
|000012c0| 6e 69 6c 20 28 23 24 20 | 2e 20 2d 34 37 32 35 29 |nil (#$ |. -4725)|
|000012d0| 29 0a 23 40 31 38 32 39 | 20 4d 61 6a 6f 72 20 6d |).#@1829| Major m|
|000012e0| 6f 64 65 20 66 6f 72 20 | 69 6e 74 65 72 61 63 74 |ode for |interact|
|000012f0| 69 6e 67 20 77 69 74 68 | 20 61 6e 20 69 6e 66 65 |ing with| an infe|
|00001300| 72 69 6f 72 20 4c 69 73 | 70 20 70 72 6f 63 65 73 |rior Lis|p proces|
|00001310| 73 2e 20 20 0a 52 75 6e | 73 20 61 20 4c 69 73 70 |s. .Run|s a Lisp|
|00001320| 20 69 6e 74 65 72 70 72 | 65 74 65 72 20 61 73 20 | interpr|eter as |
|00001330| 61 20 73 75 62 70 72 6f | 63 65 73 73 20 6f 66 20 |a subpro|cess of |
|00001340| 45 6d 61 63 73 2c 20 77 | 69 74 68 20 4c 69 73 70 |Emacs, w|ith Lisp|
|00001350| 20 49 2f 4f 20 74 68 72 | 6f 75 67 68 20 61 6e 0a | I/O thr|ough an.|
|00001360| 45 6d 61 63 73 20 62 75 | 66 66 65 72 2e 20 20 56 |Emacs bu|ffer. V|
|00001370| 61 72 69 61 62 6c 65 20 | 60 69 6e 66 65 72 69 6f |ariable |`inferio|
|00001380| 72 2d 6c 69 73 70 2d 70 | 72 6f 67 72 61 6d 27 20 |r-lisp-p|rogram' |
|00001390| 63 6f 6e 74 72 6f 6c 73 | 20 77 68 69 63 68 20 4c |controls| which L|
|000013a0| 69 73 70 20 69 6e 74 65 | 72 70 72 65 74 65 72 0a |isp inte|rpreter.|
|000013b0| 69 73 20 72 75 6e 2e 20 | 20 56 61 72 69 61 62 6c |is run. | Variabl|
|000013c0| 65 73 20 60 69 6e 66 65 | 72 69 6f 72 2d 6c 69 73 |es `infe|rior-lis|
|000013d0| 70 2d 70 72 6f 6d 70 74 | 27 2c 20 60 69 6e 66 65 |p-prompt|', `infe|
|000013e0| 72 69 6f 72 2d 6c 69 73 | 70 2d 66 69 6c 74 65 72 |rior-lis|p-filter|
|000013f0| 2d 72 65 67 65 78 70 27 | 20 61 6e 64 0a 60 69 6e |-regexp'| and.`in|
|00001400| 66 65 72 69 6f 72 2d 6c | 69 73 70 2d 6c 6f 61 64 |ferior-l|isp-load|
|00001410| 2d 63 6f 6d 6d 61 6e 64 | 27 20 63 61 6e 20 63 75 |-command|' can cu|
|00001420| 73 74 6f 6d 69 7a 65 20 | 74 68 69 73 20 6d 6f 64 |stomize |this mod|
|00001430| 65 20 66 6f 72 20 64 69 | 66 66 65 72 65 6e 74 20 |e for di|fferent |
|00001440| 4c 69 73 70 0a 69 6e 74 | 65 72 70 72 65 74 65 72 |Lisp.int|erpreter|
|00001450| 73 2e 0a 0a 46 6f 72 20 | 69 6e 66 6f 72 6d 61 74 |s...For |informat|
|00001460| 69 6f 6e 20 6f 6e 20 72 | 75 6e 6e 69 6e 67 20 6d |ion on r|unning m|
|00001470| 75 6c 74 69 70 6c 65 20 | 70 72 6f 63 65 73 73 65 |ultiple |processe|
|00001480| 73 20 69 6e 20 6d 75 6c | 74 69 70 6c 65 20 62 75 |s in mul|tiple bu|
|00001490| 66 66 65 72 73 2c 20 73 | 65 65 0a 64 6f 63 75 6d |ffers, s|ee.docum|
|000014a0| 65 6e 74 61 74 69 6f 6e | 20 66 6f 72 20 76 61 72 |entation| for var|
|000014b0| 69 61 62 6c 65 20 60 69 | 6e 66 65 72 69 6f 72 2d |iable `i|nferior-|
|000014c0| 6c 69 73 70 2d 62 75 66 | 66 65 72 27 2e 0a 0a 5c |lisp-buf|fer'...\|
|000014d0| 7b 69 6e 66 65 72 69 6f | 72 2d 6c 69 73 70 2d 6d |{inferio|r-lisp-m|
|000014e0| 6f 64 65 2d 6d 61 70 7d | 0a 0a 43 75 73 74 6f 6d |ode-map}|..Custom|
|000014f0| 69 73 61 74 69 6f 6e 3a | 20 45 6e 74 72 79 20 74 |isation:| Entry t|
|00001500| 6f 20 74 68 69 73 20 6d | 6f 64 65 20 72 75 6e 73 |o this m|ode runs|
|00001510| 20 74 68 65 20 68 6f 6f | 6b 73 20 6f 6e 20 60 63 | the hoo|ks on `c|
|00001520| 6f 6d 69 6e 74 2d 6d 6f | 64 65 2d 68 6f 6f 6b 27 |omint-mo|de-hook'|
|00001530| 20 61 6e 64 0a 60 69 6e | 66 65 72 69 6f 72 2d 6c | and.`in|ferior-l|
|00001540| 69 73 70 2d 6d 6f 64 65 | 2d 68 6f 6f 6b 27 20 28 |isp-mode|-hook' (|
|00001550| 69 6e 20 74 68 61 74 20 | 6f 72 64 65 72 29 2e 0a |in that |order)..|
|00001560| 0a 59 6f 75 20 63 61 6e | 20 73 65 6e 64 20 74 65 |.You can| send te|
|00001570| 78 74 20 74 6f 20 74 68 | 65 20 69 6e 66 65 72 69 |xt to th|e inferi|
|00001580| 6f 72 20 4c 69 73 70 20 | 70 72 6f 63 65 73 73 20 |or Lisp |process |
|00001590| 66 72 6f 6d 20 6f 74 68 | 65 72 20 62 75 66 66 65 |from oth|er buffe|
|000015a0| 72 73 20 63 6f 6e 74 61 | 69 6e 69 6e 67 0a 4c 69 |rs conta|ining.Li|
|000015b0| 73 70 20 73 6f 75 72 63 | 65 2e 20 20 0a 20 20 20 |sp sourc|e. . |
|000015c0| 20 73 77 69 74 63 68 2d | 74 6f 2d 6c 69 73 70 20 | switch-|to-lisp |
|000015d0| 73 77 69 74 63 68 65 73 | 20 74 68 65 20 63 75 72 |switches| the cur|
|000015e0| 72 65 6e 74 20 62 75 66 | 66 65 72 20 74 6f 20 74 |rent buf|fer to t|
|000015f0| 68 65 20 4c 69 73 70 20 | 70 72 6f 63 65 73 73 20 |he Lisp |process |
|00001600| 62 75 66 66 65 72 2e 0a | 20 20 20 20 6c 69 73 70 |buffer..| lisp|
|00001610| 2d 65 76 61 6c 2d 64 65 | 66 75 6e 20 73 65 6e 64 |-eval-de|fun send|
|00001620| 73 20 74 68 65 20 63 75 | 72 72 65 6e 74 20 64 65 |s the cu|rrent de|
|00001630| 66 75 6e 20 74 6f 20 74 | 68 65 20 4c 69 73 70 20 |fun to t|he Lisp |
|00001640| 70 72 6f 63 65 73 73 2e | 0a 20 20 20 20 6c 69 73 |process.|. lis|
|00001650| 70 2d 63 6f 6d 70 69 6c | 65 2d 64 65 66 75 6e 20 |p-compil|e-defun |
|00001660| 63 6f 6d 70 69 6c 65 73 | 20 74 68 65 20 63 75 72 |compiles| the cur|
|00001670| 72 65 6e 74 20 64 65 66 | 75 6e 2e 0a 20 20 20 20 |rent def|un.. |
|00001680| 6c 69 73 70 2d 65 76 61 | 6c 2d 72 65 67 69 6f 6e |lisp-eva|l-region|
|00001690| 20 73 65 6e 64 73 20 74 | 68 65 20 63 75 72 72 65 | sends t|he curre|
|000016a0| 6e 74 20 72 65 67 69 6f | 6e 20 74 6f 20 74 68 65 |nt regio|n to the|
|000016b0| 20 4c 69 73 70 20 70 72 | 6f 63 65 73 73 2e 0a 20 | Lisp pr|ocess.. |
|000016c0| 20 20 20 6c 69 73 70 2d | 63 6f 6d 70 69 6c 65 2d | lisp-|compile-|
|000016d0| 72 65 67 69 6f 6e 20 63 | 6f 6d 70 69 6c 65 73 20 |region c|ompiles |
|000016e0| 74 68 65 20 63 75 72 72 | 65 6e 74 20 72 65 67 69 |the curr|ent regi|
|000016f0| 6f 6e 2e 0a 0a 20 20 20 | 20 50 72 65 66 69 78 69 |on... | Prefixi|
|00001700| 6e 67 20 74 68 65 20 6c | 69 73 70 2d 65 76 61 6c |ng the l|isp-eval|
|00001710| 2f 63 6f 6d 70 69 6c 65 | 2d 64 65 66 75 6e 2f 72 |/compile|-defun/r|
|00001720| 65 67 69 6f 6e 20 63 6f | 6d 6d 61 6e 64 73 20 77 |egion co|mmands w|
|00001730| 69 74 68 0a 20 20 20 20 | 61 20 5c 5b 75 6e 69 76 |ith. |a \[univ|
|00001740| 65 72 73 61 6c 2d 61 72 | 67 75 6d 65 6e 74 5d 20 |ersal-ar|gument] |
|00001750| 63 61 75 73 65 73 20 61 | 20 73 77 69 74 63 68 20 |causes a| switch |
|00001760| 74 6f 20 74 68 65 20 4c | 69 73 70 20 70 72 6f 63 |to the L|isp proc|
|00001770| 65 73 73 20 62 75 66 66 | 65 72 20 61 66 74 65 72 |ess buff|er after|
|00001780| 20 73 65 6e 64 69 6e 67 | 0a 20 20 20 20 74 68 65 | sending|. the|
|00001790| 20 74 65 78 74 2e 0a 0a | 43 6f 6d 6d 61 6e 64 73 | text...|Commands|
|000017a0| 3a 0a 52 65 74 75 72 6e | 20 61 66 74 65 72 20 74 |:.Return| after t|
|000017b0| 68 65 20 65 6e 64 20 6f | 66 20 74 68 65 20 70 72 |he end o|f the pr|
|000017c0| 6f 63 65 73 73 27 20 6f | 75 74 70 75 74 20 73 65 |ocess' o|utput se|
|000017d0| 6e 64 73 20 74 68 65 20 | 74 65 78 74 20 66 72 6f |nds the |text fro|
|000017e0| 6d 20 74 68 65 20 0a 20 | 20 20 20 65 6e 64 20 6f |m the . | end o|
|000017f0| 66 20 70 72 6f 63 65 73 | 73 20 74 6f 20 70 6f 69 |f proces|s to poi|
|00001800| 6e 74 2e 0a 52 65 74 75 | 72 6e 20 62 65 66 6f 72 |nt..Retu|rn befor|
|00001810| 65 20 74 68 65 20 65 6e | 64 20 6f 66 20 74 68 65 |e the en|d of the|
|00001820| 20 70 72 6f 63 65 73 73 | 27 20 6f 75 74 70 75 74 | process|' output|
|00001830| 20 63 6f 70 69 65 73 20 | 74 68 65 20 73 65 78 70 | copies |the sexp|
|00001840| 20 65 6e 64 69 6e 67 20 | 61 74 20 70 6f 69 6e 74 | ending |at point|
|00001850| 0a 20 20 20 20 74 6f 20 | 74 68 65 20 65 6e 64 20 |. to |the end |
|00001860| 6f 66 20 74 68 65 20 70 | 72 6f 63 65 73 73 27 20 |of the p|rocess' |
|00001870| 6f 75 74 70 75 74 2c 20 | 61 6e 64 20 73 65 6e 64 |output, |and send|
|00001880| 73 20 69 74 2e 0a 44 65 | 6c 65 74 65 20 63 6f 6e |s it..De|lete con|
|00001890| 76 65 72 74 73 20 74 61 | 62 73 20 74 6f 20 73 70 |verts ta|bs to sp|
|000018a0| 61 63 65 73 20 61 73 20 | 69 74 20 6d 6f 76 65 73 |aces as |it moves|
|000018b0| 20 62 61 63 6b 2e 0a 54 | 61 62 20 69 6e 64 65 6e | back..T|ab inden|
|000018c0| 74 73 20 66 6f 72 20 4c | 69 73 70 3b 20 77 69 74 |ts for L|isp; wit|
|000018d0| 68 20 61 72 67 75 6d 65 | 6e 74 2c 20 73 68 69 66 |h argume|nt, shif|
|000018e0| 74 73 20 72 65 73 74 0a | 20 20 20 20 6f 66 20 65 |ts rest.| of e|
|000018f0| 78 70 72 65 73 73 69 6f | 6e 20 72 69 67 69 64 6c |xpressio|n rigidl|
|00001900| 79 20 77 69 74 68 20 74 | 68 65 20 63 75 72 72 65 |y with t|he curre|
|00001910| 6e 74 20 6c 69 6e 65 2e | 0a 43 2d 4d 2d 71 20 64 |nt line.|.C-M-q d|
|00001920| 6f 65 73 20 54 61 62 20 | 6f 6e 20 65 61 63 68 20 |oes Tab |on each |
|00001930| 6c 69 6e 65 20 73 74 61 | 72 74 69 6e 67 20 77 69 |line sta|rting wi|
|00001940| 74 68 69 6e 20 66 6f 6c | 6c 6f 77 69 6e 67 20 65 |thin fol|lowing e|
|00001950| 78 70 72 65 73 73 69 6f | 6e 2e 0a 50 61 72 61 67 |xpressio|n..Parag|
|00001960| 72 61 70 68 73 20 61 72 | 65 20 73 65 70 61 72 61 |raphs ar|e separa|
|00001970| 74 65 64 20 6f 6e 6c 79 | 20 62 79 20 62 6c 61 6e |ted only| by blan|
|00001980| 6b 20 6c 69 6e 65 73 2e | 20 20 53 65 6d 69 63 6f |k lines.| Semico|
|00001990| 6c 6f 6e 73 20 73 74 61 | 72 74 20 63 6f 6d 6d 65 |lons sta|rt comme|
|000019a0| 6e 74 73 2e 0a 49 66 20 | 79 6f 75 20 61 63 63 69 |nts..If |you acci|
|000019b0| 64 65 6e 74 61 6c 6c 79 | 20 73 75 73 70 65 6e 64 |dentally| suspend|
|000019c0| 20 79 6f 75 72 20 70 72 | 6f 63 65 73 73 2c 20 75 | your pr|ocess, u|
|000019d0| 73 65 20 5c 5b 63 6f 6d | 69 6e 74 2d 63 6f 6e 74 |se \[com|int-cont|
|000019e0| 69 6e 75 65 2d 73 75 62 | 6a 6f 62 5d 0a 74 6f 20 |inue-sub|job].to |
|000019f0| 63 6f 6e 74 69 6e 75 65 | 20 69 74 2e 1f 0a 28 64 |continue| it...(d|
|00001a00| 65 66 61 6c 69 61 73 20 | 27 69 6e 66 65 72 69 6f |efalias |'inferio|
|00001a10| 72 2d 6c 69 73 70 2d 6d | 6f 64 65 20 23 5b 6e 69 |r-lisp-m|ode #[ni|
|00001a20| 6c 20 22 c0 20 88 09 12 | c3 14 c5 16 06 c7 16 08 |l ". ...|........|
|00001a30| c9 ca 21 88 cb 0e 5c 66 | 21 88 cd 16 0e cf 16 10 |..!...\f|!.......|
|00001a40| d1 16 12 d3 d4 21 87 22 | 20 5b 63 6f 6d 69 6e 74 |.....!."| [comint|
|00001a50| 2d 6d 6f 64 65 20 69 6e | 66 65 72 69 6f 72 2d 6c |-mode in|ferior-l|
|00001a60| 69 73 70 2d 70 72 6f 6d | 70 74 20 63 6f 6d 69 6e |isp-prom|pt comin|
|00001a70| 74 2d 70 72 6f 6d 70 74 | 2d 72 65 67 65 78 70 20 |t-prompt|-regexp |
|00001a80| 69 6e 66 65 72 69 6f 72 | 2d 6c 69 73 70 2d 6d 6f |inferior|-lisp-mo|
|00001a90| 64 65 20 6d 61 6a 6f 72 | 2d 6d 6f 64 65 20 22 49 |de major|-mode "I|
|00001aa0| 6e 66 65 72 69 6f 72 20 | 4c 69 73 70 22 20 6d 6f |nferior |Lisp" mo|
|00001ab0| 64 65 2d 6e 61 6d 65 20 | 28 22 3a 25 73 22 29 20 |de-name |(":%s") |
|00001ac0| 6d 6f 64 65 2d 6c 69 6e | 65 2d 70 72 6f 63 65 73 |mode-lin|e-proces|
|00001ad0| 73 20 6c 69 73 70 2d 6d | 6f 64 65 2d 76 61 72 69 |s lisp-m|ode-vari|
|00001ae0| 61 62 6c 65 73 20 74 20 | 75 73 65 2d 6c 6f 63 61 |ables t |use-loca|
|00001af0| 6c 2d 6d 61 70 20 69 6e | 66 65 72 69 6f 72 2d 6c |l-map in|ferior-l|
|00001b00| 69 73 70 2d 6d 6f 64 65 | 2d 6d 61 70 20 6c 69 73 |isp-mode|-map lis|
|00001b10| 70 2d 67 65 74 2d 6f 6c | 64 2d 69 6e 70 75 74 20 |p-get-ol|d-input |
|00001b20| 63 6f 6d 69 6e 74 2d 67 | 65 74 2d 6f 6c 64 2d 69 |comint-g|et-old-i|
|00001b30| 6e 70 75 74 20 6c 69 73 | 70 2d 69 6e 70 75 74 2d |nput lis|p-input-|
|00001b40| 66 69 6c 74 65 72 20 63 | 6f 6d 69 6e 74 2d 69 6e |filter c|omint-in|
|00001b50| 70 75 74 2d 66 69 6c 74 | 65 72 20 69 67 6e 6f 72 |put-filt|er ignor|
|00001b60| 65 20 63 6f 6d 69 6e 74 | 2d 69 6e 70 75 74 2d 73 |e comint|-input-s|
|00001b70| 65 6e 74 69 6e 65 6c 20 | 72 75 6e 2d 68 6f 6f 6b |entinel |run-hook|
|00001b80| 73 20 69 6e 66 65 72 69 | 6f 72 2d 6c 69 73 70 2d |s inferi|or-lisp-|
|00001b90| 6d 6f 64 65 2d 68 6f 6f | 6b 5d 20 32 20 28 23 24 |mode-hoo|k] 2 (#$|
|00001ba0| 20 2e 20 34 38 32 35 29 | 20 6e 69 6c 5d 29 0a 23 | . 4825)| nil]).#|
|00001bb0| 40 35 34 20 52 65 74 75 | 72 6e 20 61 20 73 74 72 |@54 Retu|rn a str|
|00001bc0| 69 6e 67 20 63 6f 6e 74 | 61 69 6e 69 6e 67 20 74 |ing cont|aining t|
|00001bd0| 68 65 20 73 65 78 70 20 | 65 6e 64 69 6e 67 20 61 |he sexp |ending a|
|00001be0| 74 20 70 6f 69 6e 74 2e | 1f 0a 28 64 65 66 61 6c |t point.|..(defal|
|00001bf0| 69 61 73 20 27 6c 69 73 | 70 2d 67 65 74 2d 6f 6c |ias 'lis|p-get-ol|
|00001c00| 64 2d 69 6e 70 75 74 20 | 23 5b 6e 69 6c 20 22 8a |d-input |#[nil ".|
|00001c10| 60 18 c1 20 88 60 08 7b | 2a 87 22 20 5b 65 6e 64 |`.. .`.{|*." [end|
|00001c20| 20 62 61 63 6b 77 61 72 | 64 2d 73 65 78 70 5d 20 | backwar|d-sexp] |
|00001c30| 32 20 28 23 24 20 2e 20 | 37 30 39 32 29 5d 29 0a |2 (#$ . |7092)]).|
|00001c40| 23 40 35 36 20 74 20 69 | 66 20 53 54 52 20 64 6f |#@56 t i|f STR do|
|00001c50| 65 73 20 6e 6f 74 20 6d | 61 74 63 68 20 60 69 6e |es not m|atch `in|
|00001c60| 66 65 72 69 6f 72 2d 6c | 69 73 70 2d 66 69 6c 74 |ferior-l|isp-filt|
|00001c70| 65 72 2d 72 65 67 65 78 | 70 27 2e 1f 0a 28 64 65 |er-regex|p'...(de|
|00001c80| 66 61 6c 69 61 73 20 27 | 6c 69 73 70 2d 69 6e 70 |falias '|lisp-inp|
|00001c90| 75 74 2d 66 69 6c 74 65 | 72 20 23 5b 28 73 74 72 |ut-filte|r #[(str|
|00001ca0| 29 20 22 c0 09 5c 6e 5c | 22 3f 87 22 20 5b 73 74 |) "..\n\|"?." [st|
|00001cb0| 72 69 6e 67 2d 6d 61 74 | 63 68 20 69 6e 66 65 72 |ring-mat|ch infer|
|00001cc0| 69 6f 72 2d 6c 69 73 70 | 2d 66 69 6c 74 65 72 2d |ior-lisp|-filter-|
|00001cd0| 72 65 67 65 78 70 20 73 | 74 72 5d 20 33 20 28 23 |regexp s|tr] 3 (#|
|00001ce0| 24 20 2e 20 37 32 33 37 | 29 5d 29 0a 23 40 34 32 |$ . 7237|)]).#@42|
|00001cf0| 30 20 52 75 6e 20 61 6e | 20 69 6e 66 65 72 69 6f |0 Run an| inferio|
|00001d00| 72 20 4c 69 73 70 20 70 | 72 6f 63 65 73 73 2c 20 |r Lisp p|rocess, |
|00001d10| 69 6e 70 75 74 20 61 6e | 64 20 6f 75 74 70 75 74 |input an|d output|
|00001d20| 20 76 69 61 20 62 75 66 | 66 65 72 20 60 2a 69 6e | via buf|fer `*in|
|00001d30| 66 65 72 69 6f 72 2d 6c | 69 73 70 2a 27 2e 0a 49 |ferior-l|isp*'..I|
|00001d40| 66 20 74 68 65 72 65 20 | 69 73 20 61 20 70 72 6f |f there |is a pro|
|00001d50| 63 65 73 73 20 61 6c 72 | 65 61 64 79 20 72 75 6e |cess alr|eady run|
|00001d60| 6e 69 6e 67 20 69 6e 20 | 60 2a 69 6e 66 65 72 69 |ning in |`*inferi|
|00001d70| 6f 72 2d 6c 69 73 70 2a | 27 2c 20 6a 75 73 74 20 |or-lisp*|', just |
|00001d80| 73 77 69 74 63 68 0a 74 | 6f 20 74 68 61 74 20 62 |switch.t|o that b|
|00001d90| 75 66 66 65 72 2e 0a 57 | 69 74 68 20 61 72 67 75 |uffer..W|ith argu|
|00001da0| 6d 65 6e 74 2c 20 61 6c | 6c 6f 77 73 20 79 6f 75 |ment, al|lows you|
|00001db0| 20 74 6f 20 65 64 69 74 | 20 74 68 65 20 63 6f 6d | to edit| the com|
|00001dc0| 6d 61 6e 64 20 6c 69 6e | 65 20 28 64 65 66 61 75 |mand lin|e (defau|
|00001dd0| 6c 74 20 69 73 20 76 61 | 6c 75 65 0a 6f 66 20 60 |lt is va|lue.of `|
|00001de0| 69 6e 66 65 72 69 6f 72 | 2d 6c 69 73 70 2d 70 72 |inferior|-lisp-pr|
|00001df0| 6f 67 72 61 6d 27 29 2e | 20 20 52 75 6e 73 20 74 |ogram').| Runs t|
|00001e00| 68 65 20 68 6f 6f 6b 73 | 20 66 72 6f 6d 0a 60 69 |he hooks| from.`i|
|00001e10| 6e 66 65 72 69 6f 72 2d | 6c 69 73 70 2d 6d 6f 64 |nferior-|lisp-mod|
|00001e20| 65 2d 68 6f 6f 6b 27 20 | 28 61 66 74 65 72 20 74 |e-hook' |(after t|
|00001e30| 68 65 20 60 63 6f 6d 69 | 6e 74 2d 6d 6f 64 65 2d |he `comi|nt-mode-|
|00001e40| 68 6f 6f 6b 27 20 69 73 | 20 72 75 6e 29 2e 0a 28 |hook' is| run)..(|
|00001e50| 54 79 70 65 20 5c 5b 64 | 65 73 63 72 69 62 65 2d |Type \[d|escribe-|
|00001e60| 6d 6f 64 65 5d 20 69 6e | 20 74 68 65 20 70 72 6f |mode] in| the pro|
|00001e70| 63 65 73 73 20 62 75 66 | 66 65 72 20 66 6f 72 20 |cess buf|fer for |
|00001e80| 61 20 6c 69 73 74 20 6f | 66 20 63 6f 6d 6d 61 6e |a list o|f comman|
|00001e90| 64 73 2e 29 1f 0a 28 64 | 65 66 61 6c 69 61 73 20 |ds.)..(d|efalias |
|00001ea0| 27 69 6e 66 65 72 69 6f | 72 2d 6c 69 73 70 20 23 |'inferio|r-lisp #|
|00001eb0| 5b 28 63 6d 64 29 20 22 | c0 c1 21 84 19 00 c2 0b |[(cmd) "|..!.....|
|00001ec0| 21 1c c5 c6 c7 5c 66 40 | c8 5c 66 41 25 71 88 c9 |!....\f@|.\fA%q..|
|00001ed0| 20 88 29 c1 16 5c 6e cb | c1 21 87 22 20 5b 63 6f | .)..\n.|.!." [co|
|00001ee0| 6d 69 6e 74 2d 63 68 65 | 63 6b 2d 70 72 6f 63 20 |mint-che|ck-proc |
|00001ef0| 22 2a 69 6e 66 65 72 69 | 6f 72 2d 6c 69 73 70 2a |"*inferi|or-lisp*|
|00001f00| 22 20 69 6e 66 65 72 69 | 6f 72 2d 6c 69 73 70 2d |" inferi|or-lisp-|
|00001f10| 61 72 67 73 2d 74 6f 2d | 6c 69 73 74 20 63 6d 64 |args-to-|list cmd|
|00001f20| 20 63 6d 64 6c 69 73 74 | 20 61 70 70 6c 79 20 6d | cmdlist| apply m|
|00001f30| 61 6b 65 2d 63 6f 6d 69 | 6e 74 20 22 69 6e 66 65 |ake-comi|nt "infe|
|00001f40| 72 69 6f 72 2d 6c 69 73 | 70 22 20 6e 69 6c 20 69 |rior-lis|p" nil i|
|00001f50| 6e 66 65 72 69 6f 72 2d | 6c 69 73 70 2d 6d 6f 64 |nferior-|lisp-mod|
|00001f60| 65 20 69 6e 66 65 72 69 | 6f 72 2d 6c 69 73 70 2d |e inferi|or-lisp-|
|00001f70| 62 75 66 66 65 72 20 70 | 6f 70 2d 74 6f 2d 62 75 |buffer p|op-to-bu|
|00001f80| 66 66 65 72 5d 20 36 20 | 28 23 24 20 2e 20 37 34 |ffer] 6 |(#$ . 74|
|00001f90| 31 30 29 20 28 6c 69 73 | 74 20 28 69 66 20 63 75 |10) (lis|t (if cu|
|00001fa0| 72 72 65 6e 74 2d 70 72 | 65 66 69 78 2d 61 72 67 |rrent-pr|efix-arg|
|00001fb0| 20 28 72 65 61 64 2d 73 | 74 72 69 6e 67 20 22 52 | (read-s|tring "R|
|00001fc0| 75 6e 20 6c 69 73 70 3a | 20 22 20 69 6e 66 65 72 |un lisp:| " infer|
|00001fd0| 69 6f 72 2d 6c 69 73 70 | 2d 70 72 6f 67 72 61 6d |ior-lisp|-program|
|00001fe0| 29 20 69 6e 66 65 72 69 | 6f 72 2d 6c 69 73 70 2d |) inferi|or-lisp-|
|00001ff0| 70 72 6f 67 72 61 6d 29 | 29 5d 29 0a 28 64 65 66 |program)|)]).(def|
|00002000| 61 6c 69 61 73 20 28 71 | 75 6f 74 65 20 72 75 6e |alias (q|uote run|
|00002010| 2d 6c 69 73 70 29 20 28 | 71 75 6f 74 65 20 69 6e |-lisp) (|quote in|
|00002020| 66 65 72 69 6f 72 2d 6c | 69 73 70 29 29 0a 28 64 |ferior-l|isp)).(d|
|00002030| 65 66 61 6c 69 61 73 20 | 27 69 6e 66 65 72 69 6f |efalias |'inferio|
|00002040| 72 2d 6c 69 73 70 2d 61 | 72 67 73 2d 74 6f 2d 6c |r-lisp-a|rgs-to-l|
|00002050| 69 73 74 20 23 5b 28 73 | 74 72 69 6e 67 29 20 22 |ist #[(s|tring) "|
|00002060| c0 c1 5c 6e 5c 22 89 1b | 84 0e 00 5c 6e 43 82 38 |..\n\"..|...\nC.8|
|00002070| 00 0b c4 55 84 25 00 5c | 6e c4 0b 4f c5 5c 6e 0b |...U.%.\|n..O.\n.|
|00002080| c6 5c 5c 5c 6e 47 4f 21 | 42 82 38 00 c0 c7 5c 6e |.\\\nGO!|B.8...\n|
|00002090| 5c 22 89 1e 08 85 37 00 | c5 5c 6e 0e 08 5c 6e 47 |\"....7.|.\n..\nG|
|000020a0| 4f 21 29 29 87 22 20 5b | 73 74 72 69 6e 67 2d 6d |O!))." [|string-m|
|000020b0| 61 74 63 68 20 22 5b 20 | 09 5d 22 20 73 74 72 69 |atch "[ |.]" stri|
|000020c0| 6e 67 20 77 68 65 72 65 | 20 30 20 69 6e 66 65 72 |ng where| 0 infer|
|000020d0| 69 6f 72 2d 6c 69 73 70 | 2d 61 72 67 73 2d 74 6f |ior-lisp|-args-to|
|000020e0| 2d 6c 69 73 74 20 31 20 | 22 5b 5e 20 09 5d 22 20 |-list 1 |"[^ .]" |
|000020f0| 70 6f 73 5d 20 36 5d 29 | 0a 23 40 31 31 35 20 53 |pos] 6])|.#@115 S|
|00002100| 65 6e 64 20 74 68 65 20 | 63 75 72 72 65 6e 74 20 |end the |current |
|00002110| 72 65 67 69 6f 6e 20 74 | 6f 20 74 68 65 20 69 6e |region t|o the in|
|00002120| 66 65 72 69 6f 72 20 4c | 69 73 70 20 70 72 6f 63 |ferior L|isp proc|
|00002130| 65 73 73 2e 0a 50 72 65 | 66 69 78 20 61 72 67 75 |ess..Pre|fix argu|
|00002140| 6d 65 6e 74 20 6d 65 61 | 6e 73 20 73 77 69 74 63 |ment mea|ns switc|
|00002150| 68 20 74 6f 20 74 68 65 | 20 4c 69 73 70 20 62 75 |h to the| Lisp bu|
|00002160| 66 66 65 72 20 61 66 74 | 65 72 77 61 72 64 73 2e |ffer aft|erwards.|
|00002170| 1f 0a 28 64 65 66 61 6c | 69 61 73 20 27 6c 69 73 |..(defal|ias 'lis|
|00002180| 70 2d 65 76 61 6c 2d 72 | 65 67 69 6f 6e 20 23 5b |p-eval-r|egion #[|
|00002190| 28 73 74 61 72 74 20 65 | 6e 64 20 26 6f 70 74 69 |(start e|nd &opti|
|000021a0| 6f 6e 61 6c 20 61 6e 64 | 2d 67 6f 29 20 22 c0 c1 |onal and|-go) "..|
|000021b0| 20 5c 6e 0b 23 88 c4 c1 | 20 c5 5c 22 88 0e 06 85 | \n.#...| .\"....|
|000021c0| 15 00 c7 c8 21 87 22 20 | 5b 63 6f 6d 69 6e 74 2d |....!." |[comint-|
|000021d0| 73 65 6e 64 2d 72 65 67 | 69 6f 6e 20 69 6e 66 65 |send-reg|ion infe|
|000021e0| 72 69 6f 72 2d 6c 69 73 | 70 2d 70 72 6f 63 20 73 |rior-lis|p-proc s|
|000021f0| 74 61 72 74 20 65 6e 64 | 20 63 6f 6d 69 6e 74 2d |tart end| comint-|
|00002200| 73 65 6e 64 2d 73 74 72 | 69 6e 67 20 22 5c 6e 22 |send-str|ing "\n"|
|00002210| 20 61 6e 64 2d 67 6f 20 | 73 77 69 74 63 68 2d 74 | and-go |switch-t|
|00002220| 6f 2d 6c 69 73 70 20 74 | 5d 20 34 20 28 23 24 20 |o-lisp t|] 4 (#$ |
|00002230| 2e 20 38 34 34 37 29 20 | 22 72 5c 6e 50 22 5d 29 |. 8447) |"r\nP"])|
|00002240| 0a 23 40 31 31 34 20 53 | 65 6e 64 20 74 68 65 20 |.#@114 S|end the |
|00002250| 63 75 72 72 65 6e 74 20 | 64 65 66 75 6e 20 74 6f |current |defun to|
|00002260| 20 74 68 65 20 69 6e 66 | 65 72 69 6f 72 20 4c 69 | the inf|erior Li|
|00002270| 73 70 20 70 72 6f 63 65 | 73 73 2e 0a 50 72 65 66 |sp proce|ss..Pref|
|00002280| 69 78 20 61 72 67 75 6d | 65 6e 74 20 6d 65 61 6e |ix argum|ent mean|
|00002290| 73 20 73 77 69 74 63 68 | 20 74 6f 20 74 68 65 20 |s switch| to the |
|000022a0| 4c 69 73 70 20 62 75 66 | 66 65 72 20 61 66 74 65 |Lisp buf|fer afte|
|000022b0| 72 77 61 72 64 73 2e 1f | 0a 28 64 65 66 61 6c 69 |rwards..|.(defali|
|000022c0| 61 73 20 27 6c 69 73 70 | 2d 65 76 61 6c 2d 64 65 |as 'lisp|-eval-de|
|000022d0| 66 75 6e 20 23 5b 28 26 | 6f 70 74 69 6f 6e 61 6c |fun #[(&|optional|
|000022e0| 20 61 6e 64 2d 67 6f 29 | 20 22 8a c0 20 88 c1 c2 | and-go)| ".. ...|
|000022f0| 78 88 60 1b c4 20 88 c5 | 60 0b 5c 22 88 2a 0e 06 |x.`.. ..|`.\".*..|
|00002300| 85 1b 00 c7 c8 21 87 22 | 20 5b 65 6e 64 2d 6f 66 |.....!."| [end-of|
|00002310| 2d 64 65 66 75 6e 20 22 | 20 09 5c 6e 0d 5c 66 22 |-defun "| .\n.\f"|
|00002320| 20 6e 69 6c 20 65 6e 64 | 20 62 65 67 69 6e 6e 69 | nil end| beginni|
|00002330| 6e 67 2d 6f 66 2d 64 65 | 66 75 6e 20 6c 69 73 70 |ng-of-de|fun lisp|
|00002340| 2d 65 76 61 6c 2d 72 65 | 67 69 6f 6e 20 61 6e 64 |-eval-re|gion and|
|00002350| 2d 67 6f 20 73 77 69 74 | 63 68 2d 74 6f 2d 6c 69 |-go swit|ch-to-li|
|00002360| 73 70 20 74 5d 20 33 20 | 28 23 24 20 2e 20 38 37 |sp t] 3 |(#$ . 87|
|00002370| 37 35 29 20 22 50 22 5d | 29 0a 23 40 31 31 34 20 |75) "P"]|).#@114 |
|00002380| 53 65 6e 64 20 74 68 65 | 20 70 72 65 76 69 6f 75 |Send the| previou|
|00002390| 73 20 73 65 78 70 20 74 | 6f 20 74 68 65 20 69 6e |s sexp t|o the in|
|000023a0| 66 65 72 69 6f 72 20 4c | 69 73 70 20 70 72 6f 63 |ferior L|isp proc|
|000023b0| 65 73 73 2e 0a 50 72 65 | 66 69 78 20 61 72 67 75 |ess..Pre|fix argu|
|000023c0| 6d 65 6e 74 20 6d 65 61 | 6e 73 20 73 77 69 74 63 |ment mea|ns switc|
|000023d0| 68 20 74 6f 20 74 68 65 | 20 4c 69 73 70 20 62 75 |h to the| Lisp bu|
|000023e0| 66 66 65 72 20 61 66 74 | 65 72 77 61 72 64 73 2e |ffer aft|erwards.|
|000023f0| 1f 0a 28 64 65 66 61 6c | 69 61 73 20 27 6c 69 73 |..(defal|ias 'lis|
|00002400| 70 2d 65 76 61 6c 2d 6c | 61 73 74 2d 73 65 78 70 |p-eval-l|ast-sexp|
|00002410| 20 23 5b 28 26 6f 70 74 | 69 6f 6e 61 6c 20 61 6e | #[(&opt|ional an|
|00002420| 64 2d 67 6f 29 20 22 c0 | 8a c1 20 88 60 29 60 5c |d-go) ".|.. .`)`\|
|00002430| 6e 23 87 22 20 5b 6c 69 | 73 70 2d 65 76 61 6c 2d |n#." [li|sp-eval-|
|00002440| 72 65 67 69 6f 6e 20 62 | 61 63 6b 77 61 72 64 2d |region b|ackward-|
|00002450| 73 65 78 70 20 61 6e 64 | 2d 67 6f 5d 20 34 20 28 |sexp and|-go] 4 (|
|00002460| 23 24 20 2e 20 39 30 38 | 38 29 20 22 50 22 5d 29 |#$ . 908|8) "P"])|
|00002470| 0a 23 40 31 31 38 20 43 | 6f 6d 70 69 6c 65 20 74 |.#@118 C|ompile t|
|00002480| 68 65 20 63 75 72 72 65 | 6e 74 20 72 65 67 69 6f |he curre|nt regio|
|00002490| 6e 20 69 6e 20 74 68 65 | 20 69 6e 66 65 72 69 6f |n in the| inferio|
|000024a0| 72 20 4c 69 73 70 20 70 | 72 6f 63 65 73 73 2e 0a |r Lisp p|rocess..|
|000024b0| 50 72 65 66 69 78 20 61 | 72 67 75 6d 65 6e 74 20 |Prefix a|rgument |
|000024c0| 6d 65 61 6e 73 20 73 77 | 69 74 63 68 20 74 6f 20 |means sw|itch to |
|000024d0| 74 68 65 20 4c 69 73 70 | 20 62 75 66 66 65 72 20 |the Lisp| buffer |
|000024e0| 61 66 74 65 72 77 61 72 | 64 73 2e 1f 0a 28 64 65 |afterwar|ds...(de|
|000024f0| 66 61 6c 69 61 73 20 27 | 6c 69 73 70 2d 63 6f 6d |falias '|lisp-com|
|00002500| 70 69 6c 65 2d 72 65 67 | 69 6f 6e 20 23 5b 28 73 |pile-reg|ion #[(s|
|00002510| 74 61 72 74 20 65 6e 64 | 20 26 6f 70 74 69 6f 6e |tart end| &option|
|00002520| 61 6c 20 61 6e 64 2d 67 | 6f 29 20 22 c0 c1 20 c2 |al and-g|o) ".. .|
|00002530| c3 5c 66 0d 7b 5c 22 5c | 22 88 0e 06 85 13 00 c7 |.\f.{\"\|".......|
|00002540| c8 21 87 22 20 5b 63 6f | 6d 69 6e 74 2d 73 65 6e |.!." [co|mint-sen|
|00002550| 64 2d 73 74 72 69 6e 67 | 20 69 6e 66 65 72 69 6f |d-string| inferio|
|00002560| 72 2d 6c 69 73 70 2d 70 | 72 6f 63 20 66 6f 72 6d |r-lisp-p|roc form|
|00002570| 61 74 20 22 28 66 75 6e | 63 61 6c 6c 20 28 63 6f |at "(fun|call (co|
|00002580| 6d 70 69 6c 65 20 6e 69 | 6c 20 60 28 6c 61 6d 62 |mpile ni|l `(lamb|
|00002590| 64 61 20 28 29 20 28 70 | 72 6f 67 6e 20 27 63 6f |da () (p|rogn 'co|
|000025a0| 6d 70 69 6c 65 20 25 73 | 29 29 29 29 5c 6e 22 20 |mpile %s|))))\n" |
|000025b0| 73 74 61 72 74 20 65 6e | 64 20 61 6e 64 2d 67 6f |start en|d and-go|
|000025c0| 20 73 77 69 74 63 68 2d | 74 6f 2d 6c 69 73 70 20 | switch-|to-lisp |
|000025d0| 74 5d 20 36 20 28 23 24 | 20 2e 20 39 33 33 35 29 |t] 6 (#$| . 9335)|
|000025e0| 20 22 72 5c 6e 50 22 5d | 29 0a 23 40 31 31 37 20 | "r\nP"]|).#@117 |
|000025f0| 43 6f 6d 70 69 6c 65 20 | 74 68 65 20 63 75 72 72 |Compile |the curr|
|00002600| 65 6e 74 20 64 65 66 75 | 6e 20 69 6e 20 74 68 65 |ent defu|n in the|
|00002610| 20 69 6e 66 65 72 69 6f | 72 20 4c 69 73 70 20 70 | inferio|r Lisp p|
|00002620| 72 6f 63 65 73 73 2e 0a | 50 72 65 66 69 78 20 61 |rocess..|Prefix a|
|00002630| 72 67 75 6d 65 6e 74 20 | 6d 65 61 6e 73 20 73 77 |rgument |means sw|
|00002640| 69 74 63 68 20 74 6f 20 | 74 68 65 20 4c 69 73 70 |itch to |the Lisp|
|00002650| 20 62 75 66 66 65 72 20 | 61 66 74 65 72 77 61 72 | buffer |afterwar|
|00002660| 64 73 2e 1f 0a 28 64 65 | 66 61 6c 69 61 73 20 27 |ds...(de|falias '|
|00002670| 6c 69 73 70 2d 63 6f 6d | 70 69 6c 65 2d 64 65 66 |lisp-com|pile-def|
|00002680| 75 6e 20 23 5b 28 26 6f | 70 74 69 6f 6e 61 6c 20 |un #[(&o|ptional |
|00002690| 61 6e 64 2d 67 6f 29 20 | 22 8a c0 20 88 c1 c2 78 |and-go) |".. ...x|
|000026a0| 88 60 1b c4 20 88 c5 60 | 0b 5c 22 88 2a 0e 06 85 |.`.. ..`|.\".*...|
|000026b0| 1b 00 c7 c8 21 87 22 20 | 5b 65 6e 64 2d 6f 66 2d |....!." |[end-of-|
|000026c0| 64 65 66 75 6e 20 22 20 | 09 5c 6e 0d 5c 66 22 20 |defun " |.\n.\f" |
|000026d0| 6e 69 6c 20 65 20 62 65 | 67 69 6e 6e 69 6e 67 2d |nil e be|ginning-|
|000026e0| 6f 66 2d 64 65 66 75 6e | 20 6c 69 73 70 2d 63 6f |of-defun| lisp-co|
|000026f0| 6d 70 69 6c 65 2d 72 65 | 67 69 6f 6e 20 61 6e 64 |mpile-re|gion and|
|00002700| 2d 67 6f 20 73 77 69 74 | 63 68 2d 74 6f 2d 6c 69 |-go swit|ch-to-li|
|00002710| 73 70 20 74 5d 20 33 20 | 28 23 24 20 2e 20 39 37 |sp t] 3 |(#$ . 97|
|00002720| 31 32 29 20 22 50 22 5d | 29 0a 23 40 39 35 20 53 |12) "P"]|).#@95 S|
|00002730| 77 69 74 63 68 20 74 6f | 20 74 68 65 20 69 6e 66 |witch to| the inf|
|00002740| 65 72 69 6f 72 20 4c 69 | 73 70 20 70 72 6f 63 65 |erior Li|sp proce|
|00002750| 73 73 20 62 75 66 66 65 | 72 2e 0a 57 69 74 68 20 |ss buffe|r..With |
|00002760| 61 72 67 75 6d 65 6e 74 | 2c 20 70 6f 73 69 74 69 |argument|, positi|
|00002770| 6f 6e 73 20 63 75 72 73 | 6f 72 20 61 74 20 65 6e |ons curs|or at en|
|00002780| 64 20 6f 66 20 62 75 66 | 66 65 72 2e 1f 0a 28 64 |d of buf|fer...(d|
|00002790| 65 66 61 6c 69 61 73 20 | 27 73 77 69 74 63 68 2d |efalias |'switch-|
|000027a0| 74 6f 2d 6c 69 73 70 20 | 23 5b 28 65 6f 62 2d 70 |to-lisp |#[(eob-p|
|000027b0| 29 20 22 c0 09 21 83 17 | 00 5c 6e 86 0e 00 c3 09 |) "..!..|.\n.....|
|000027c0| c4 5c 22 1a c5 09 21 88 | 29 82 1b 00 c6 c7 21 88 |.\"...!.|).....!.|
|000027d0| 0e 08 85 25 00 c9 20 88 | 64 62 87 22 20 5b 67 65 |...%.. .|db." [ge|
|000027e0| 74 2d 62 75 66 66 65 72 | 20 69 6e 66 65 72 69 6f |t-buffer| inferio|
|000027f0| 72 2d 6c 69 73 70 2d 62 | 75 66 66 65 72 20 70 6f |r-lisp-b|uffer po|
|00002800| 70 2d 75 70 2d 66 72 61 | 6d 65 73 20 67 65 74 2d |p-up-fra|mes get-|
|00002810| 62 75 66 66 65 72 2d 77 | 69 6e 64 6f 77 20 74 20 |buffer-w|indow t |
|00002820| 70 6f 70 2d 74 6f 2d 62 | 75 66 66 65 72 20 65 72 |pop-to-b|uffer er|
|00002830| 72 6f 72 20 22 4e 6f 20 | 63 75 72 72 65 6e 74 20 |ror "No |current |
|00002840| 69 6e 66 65 72 69 6f 72 | 20 4c 69 73 70 20 62 75 |inferior| Lisp bu|
|00002850| 66 66 65 72 22 20 65 6f | 62 2d 70 20 70 75 73 68 |ffer" eo|b-p push|
|00002860| 2d 6d 61 72 6b 5d 20 33 | 20 28 23 24 20 2e 20 31 |-mark] 3| (#$ . 1|
|00002870| 30 30 33 31 29 20 22 50 | 22 5d 29 0a 23 40 37 33 |0031) "P|"]).#@73|
|00002880| 20 53 65 6e 64 20 74 68 | 65 20 63 75 72 72 65 6e | Send th|e curren|
|00002890| 74 20 72 65 67 69 6f 6e | 20 74 6f 20 74 68 65 20 |t region| to the |
|000028a0| 69 6e 66 65 72 69 6f 72 | 20 4c 69 73 70 2c 20 61 |inferior| Lisp, a|
|000028b0| 6e 64 20 73 77 69 74 63 | 68 20 74 6f 20 69 74 73 |nd switc|h to its|
|000028c0| 20 62 75 66 66 65 72 2e | 1f 0a 28 64 65 66 61 6c | buffer.|..(defal|
|000028d0| 69 61 73 20 27 6c 69 73 | 70 2d 65 76 61 6c 2d 72 |ias 'lis|p-eval-r|
|000028e0| 65 67 69 6f 6e 2d 61 6e | 64 2d 67 6f 20 23 5b 28 |egion-an|d-go #[(|
|000028f0| 73 74 61 72 74 20 65 6e | 64 29 20 22 c0 09 5c 6e |start en|d) "..\n|
|00002900| c3 23 87 22 20 5b 6c 69 | 73 70 2d 65 76 61 6c 2d |.#." [li|sp-eval-|
|00002910| 72 65 67 69 6f 6e 20 73 | 74 61 72 74 20 65 6e 64 |region s|tart end|
|00002920| 20 74 5d 20 34 20 28 23 | 24 20 2e 20 31 30 33 36 | t] 4 (#|$ . 1036|
|00002930| 39 29 20 22 72 22 5d 29 | 0a 23 40 37 32 20 53 65 |9) "r"])|.#@72 Se|
|00002940| 6e 64 20 74 68 65 20 63 | 75 72 72 65 6e 74 20 64 |nd the c|urrent d|
|00002950| 65 66 75 6e 20 74 6f 20 | 74 68 65 20 69 6e 66 65 |efun to |the infe|
|00002960| 72 69 6f 72 20 4c 69 73 | 70 2c 20 61 6e 64 20 73 |rior Lis|p, and s|
|00002970| 77 69 74 63 68 20 74 6f | 20 69 74 73 20 62 75 66 |witch to| its buf|
|00002980| 66 65 72 2e 1f 0a 28 64 | 65 66 61 6c 69 61 73 20 |fer...(d|efalias |
|00002990| 27 6c 69 73 70 2d 65 76 | 61 6c 2d 64 65 66 75 6e |'lisp-ev|al-defun|
|000029a0| 2d 61 6e 64 2d 67 6f 20 | 23 5b 6e 69 6c 20 22 c0 |-and-go |#[nil ".|
|000029b0| c1 21 87 22 20 5b 6c 69 | 73 70 2d 65 76 61 6c 2d |.!." [li|sp-eval-|
|000029c0| 64 65 66 75 6e 20 74 5d | 20 32 20 28 23 24 20 2e |defun t]| 2 (#$ .|
|000029d0| 20 31 30 35 35 38 29 20 | 6e 69 6c 5d 29 0a 23 40 | 10558) |nil]).#@|
|000029e0| 37 36 20 43 6f 6d 70 69 | 6c 65 20 74 68 65 20 63 |76 Compi|le the c|
|000029f0| 75 72 72 65 6e 74 20 72 | 65 67 69 6f 6e 20 69 6e |urrent r|egion in|
|00002a00| 20 74 68 65 20 69 6e 66 | 65 72 69 6f 72 20 4c 69 | the inf|erior Li|
|00002a10| 73 70 2c 20 61 6e 64 20 | 73 77 69 74 63 68 20 74 |sp, and |switch t|
|00002a20| 6f 20 69 74 73 20 62 75 | 66 66 65 72 2e 1f 0a 28 |o its bu|ffer...(|
|00002a30| 64 65 66 61 6c 69 61 73 | 20 27 6c 69 73 70 2d 63 |defalias| 'lisp-c|
|00002a40| 6f 6d 70 69 6c 65 2d 72 | 65 67 69 6f 6e 2d 61 6e |ompile-r|egion-an|
|00002a50| 64 2d 67 6f 20 23 5b 28 | 73 74 61 72 74 20 65 6e |d-go #[(|start en|
|00002a60| 64 29 20 22 c0 09 5c 6e | c3 23 87 22 20 5b 6c 69 |d) "..\n|.#." [li|
|00002a70| 73 70 2d 63 6f 6d 70 69 | 6c 65 2d 72 65 67 69 6f |sp-compi|le-regio|
|00002a80| 6e 20 73 74 61 72 74 20 | 65 6e 64 20 74 5d 20 34 |n start |end t] 4|
|00002a90| 20 28 23 24 20 2e 20 31 | 30 37 32 33 29 20 22 72 | (#$ . 1|0723) "r|
|00002aa0| 22 5d 29 0a 23 40 37 35 | 20 43 6f 6d 70 69 6c 65 |"]).#@75| Compile|
|00002ab0| 20 74 68 65 20 63 75 72 | 72 65 6e 74 20 64 65 66 | the cur|rent def|
|00002ac0| 75 6e 20 69 6e 20 74 68 | 65 20 69 6e 66 65 72 69 |un in th|e inferi|
|00002ad0| 6f 72 20 4c 69 73 70 2c | 20 61 6e 64 20 73 77 69 |or Lisp,| and swi|
|00002ae0| 74 63 68 20 74 6f 20 69 | 74 73 20 62 75 66 66 65 |tch to i|ts buffe|
|00002af0| 72 2e 1f 0a 28 64 65 66 | 61 6c 69 61 73 20 27 6c |r...(def|alias 'l|
|00002b00| 69 73 70 2d 63 6f 6d 70 | 69 6c 65 2d 64 65 66 75 |isp-comp|ile-defu|
|00002b10| 6e 2d 61 6e 64 2d 67 6f | 20 23 5b 6e 69 6c 20 22 |n-and-go| #[nil "|
|00002b20| c0 c1 21 87 22 20 5b 6c | 69 73 70 2d 63 6f 6d 70 |..!." [l|isp-comp|
|00002b30| 69 6c 65 2d 64 65 66 75 | 6e 20 74 5d 20 32 20 28 |ile-defu|n t] 2 (|
|00002b40| 23 24 20 2e 20 31 30 39 | 32 31 29 20 6e 69 6c 5d |#$ . 109|21) nil]|
|00002b50| 29 0a 23 40 31 38 37 20 | 52 65 63 6f 72 64 20 6c |).#@187 |Record l|
|00002b60| 61 73 74 20 64 69 72 65 | 63 74 6f 72 79 20 61 6e |ast dire|ctory an|
|00002b70| 64 20 66 69 6c 65 20 75 | 73 65 64 20 69 6e 20 6c |d file u|sed in l|
|00002b80| 6f 61 64 69 6e 67 20 6f | 72 20 63 6f 6d 70 69 6c |oading o|r compil|
|00002b90| 69 6e 67 2e 0a 54 68 69 | 73 20 68 6f 6c 64 73 20 |ing..Thi|s holds |
|00002ba0| 61 20 63 6f 6e 73 20 63 | 65 6c 6c 20 6f 66 20 74 |a cons c|ell of t|
|00002bb0| 68 65 20 66 6f 72 6d 20 | 60 28 44 49 52 45 43 54 |he form |`(DIRECT|
|00002bc0| 4f 52 59 20 2e 20 46 49 | 4c 45 29 27 0a 64 65 73 |ORY . FI|LE)'.des|
|00002bd0| 63 72 69 62 69 6e 67 20 | 74 68 65 20 6c 61 73 74 |cribing |the last|
|00002be0| 20 60 6c 69 73 70 2d 6c | 6f 61 64 2d 66 69 6c 65 | `lisp-l|oad-file|
|00002bf0| 27 20 6f 72 20 60 6c 69 | 73 70 2d 63 6f 6d 70 69 |' or `li|sp-compi|
|00002c00| 6c 65 2d 66 69 6c 65 27 | 20 63 6f 6d 6d 61 6e 64 |le-file'| command|
|00002c10| 2e 1f 0a 28 64 65 66 76 | 61 72 20 6c 69 73 70 2d |...(defv|ar lisp-|
|00002c20| 70 72 65 76 2d 6c 2f 63 | 2d 64 69 72 2f 66 69 6c |prev-l/c|-dir/fil|
|00002c30| 65 20 6e 69 6c 20 28 23 | 24 20 2e 20 31 31 30 39 |e nil (#|$ . 1109|
|00002c40| 36 29 29 0a 23 40 32 35 | 31 20 2a 55 73 65 64 20 |6)).#@25|1 *Used |
|00002c50| 74 6f 20 64 65 74 65 72 | 6d 69 6e 65 20 69 66 20 |to deter|mine if |
|00002c60| 61 20 62 75 66 66 65 72 | 20 63 6f 6e 74 61 69 6e |a buffer| contain|
|00002c70| 73 20 4c 69 73 70 20 73 | 6f 75 72 63 65 20 63 6f |s Lisp s|ource co|
|00002c80| 64 65 2e 0a 49 66 20 69 | 74 27 73 20 6c 6f 61 64 |de..If i|t's load|
|00002c90| 65 64 20 69 6e 74 6f 20 | 61 20 62 75 66 66 65 72 |ed into |a buffer|
|00002ca0| 20 74 68 61 74 20 69 73 | 20 69 6e 20 6f 6e 65 20 | that is| in one |
|00002cb0| 6f 66 20 74 68 65 73 65 | 20 6d 61 6a 6f 72 20 6d |of these| major m|
|00002cc0| 6f 64 65 73 2c 20 69 74 | 27 73 0a 63 6f 6e 73 69 |odes, it|'s.consi|
|00002cd0| 64 65 72 65 64 20 61 20 | 4c 69 73 70 20 73 6f 75 |dered a |Lisp sou|
|00002ce0| 72 63 65 20 66 69 6c 65 | 20 62 79 20 60 6c 69 73 |rce file| by `lis|
|00002cf0| 70 2d 6c 6f 61 64 2d 66 | 69 6c 65 27 20 61 6e 64 |p-load-f|ile' and|
|00002d00| 20 60 6c 69 73 70 2d 63 | 6f 6d 70 69 6c 65 2d 66 | `lisp-c|ompile-f|
|00002d10| 69 6c 65 27 2e 0a 55 73 | 65 64 20 62 79 20 74 68 |ile'..Us|ed by th|
|00002d20| 65 73 65 20 63 6f 6d 6d | 61 6e 64 73 20 74 6f 20 |ese comm|ands to |
|00002d30| 64 65 74 65 72 6d 69 6e | 65 20 64 65 66 61 75 6c |determin|e defaul|
|00002d40| 74 73 2e 1f 0a 28 64 65 | 66 76 61 72 20 6c 69 73 |ts...(de|fvar lis|
|00002d50| 70 2d 73 6f 75 72 63 65 | 2d 6d 6f 64 65 73 20 28 |p-source|-modes (|
|00002d60| 71 75 6f 74 65 20 28 6c | 69 73 70 2d 6d 6f 64 65 |quote (l|isp-mode|
|00002d70| 29 29 20 28 23 24 20 2e | 20 2d 31 31 33 33 38 29 |)) (#$ .| -11338)|
|00002d80| 29 0a 23 40 35 30 20 4c | 6f 61 64 20 61 20 4c 69 |).#@50 L|oad a Li|
|00002d90| 73 70 20 66 69 6c 65 20 | 69 6e 74 6f 20 74 68 65 |sp file |into the|
|00002da0| 20 69 6e 66 65 72 69 6f | 72 20 4c 69 73 70 20 70 | inferio|r Lisp p|
|00002db0| 72 6f 63 65 73 73 2e 1f | 0a 28 64 65 66 61 6c 69 |rocess..|.(defali|
|00002dc0| 61 73 20 27 6c 69 73 70 | 2d 6c 6f 61 64 2d 66 69 |as 'lisp|-load-fi|
|00002dd0| 6c 65 20 23 5b 28 66 69 | 6c 65 2d 6e 61 6d 65 29 |le #[(fi|le-name)|
|00002de0| 20 22 c0 09 21 88 c2 09 | 21 c3 09 21 42 14 c5 c6 | "..!...|!..!B...|
|00002df0| 20 c7 0e 08 09 5c 22 5c | 22 88 c9 ca 21 87 22 20 | ....\"\|"...!." |
|00002e00| 5b 63 6f 6d 69 6e 74 2d | 63 68 65 63 6b 2d 73 6f |[comint-|check-so|
|00002e10| 75 72 63 65 20 66 69 6c | 65 2d 6e 61 6d 65 20 66 |urce fil|e-name f|
|00002e20| 69 6c 65 2d 6e 61 6d 65 | 2d 64 69 72 65 63 74 6f |ile-name|-directo|
|00002e30| 72 79 20 66 69 6c 65 2d | 6e 61 6d 65 2d 6e 6f 6e |ry file-|name-non|
|00002e40| 64 69 72 65 63 74 6f 72 | 79 20 6c 69 73 70 2d 70 |director|y lisp-p|
|00002e50| 72 65 76 2d 6c 2f 63 2d | 64 69 72 2f 66 69 6c 65 |rev-l/c-|dir/file|
|00002e60| 20 63 6f 6d 69 6e 74 2d | 73 65 6e 64 2d 73 74 72 | comint-|send-str|
|00002e70| 69 6e 67 20 69 6e 66 65 | 72 69 6f 72 2d 6c 69 73 |ing infe|rior-lis|
|00002e80| 70 2d 70 72 6f 63 20 66 | 6f 72 6d 61 74 20 69 6e |p-proc f|ormat in|
|00002e90| 66 65 72 69 6f 72 2d 6c | 69 73 70 2d 6c 6f 61 64 |ferior-l|isp-load|
|00002ea0| 2d 63 6f 6d 6d 61 6e 64 | 20 73 77 69 74 63 68 2d |-command| switch-|
|00002eb0| 74 6f 2d 6c 69 73 70 20 | 74 5d 20 35 20 28 23 24 |to-lisp |t] 5 (#$|
|00002ec0| 20 2e 20 31 31 36 35 35 | 29 20 28 63 6f 6d 69 6e | . 11655|) (comin|
|00002ed0| 74 2d 67 65 74 2d 73 6f | 75 72 63 65 20 22 4c 6f |t-get-so|urce "Lo|
|00002ee0| 61 64 20 4c 69 73 70 20 | 66 69 6c 65 3a 20 22 20 |ad Lisp |file: " |
|00002ef0| 6c 69 73 70 2d 70 72 65 | 76 2d 6c 2f 63 2d 64 69 |lisp-pre|v-l/c-di|
|00002f00| 72 2f 66 69 6c 65 20 6c | 69 73 70 2d 73 6f 75 72 |r/file l|isp-sour|
|00002f10| 63 65 2d 6d 6f 64 65 73 | 20 6e 69 6c 29 5d 29 0a |ce-modes| nil)]).|
|00002f20| 23 40 35 31 20 43 6f 6d | 70 69 6c 65 20 61 20 4c |#@51 Com|pile a L|
|00002f30| 69 73 70 20 66 69 6c 65 | 20 69 6e 20 74 68 65 20 |isp file| in the |
|00002f40| 69 6e 66 65 72 69 6f 72 | 20 4c 69 73 70 20 70 72 |inferior| Lisp pr|
|00002f50| 6f 63 65 73 73 2e 1f 0a | 28 64 65 66 61 6c 69 61 |ocess...|(defalia|
|00002f60| 73 20 27 6c 69 73 70 2d | 63 6f 6d 70 69 6c 65 2d |s 'lisp-|compile-|
|00002f70| 66 69 6c 65 20 23 5b 28 | 66 69 6c 65 2d 6e 61 6d |file #[(|file-nam|
|00002f80| 65 29 20 22 c0 09 21 88 | c2 09 21 c3 09 21 42 14 |e) "..!.|..!..!B.|
|00002f90| c5 c6 20 c7 09 c8 51 5c | 22 88 c9 ca 21 87 22 20 |.. ...Q\|"...!." |
|00002fa0| 5b 63 6f 6d 69 6e 74 2d | 63 68 65 63 6b 2d 73 6f |[comint-|check-so|
|00002fb0| 75 72 63 65 20 66 69 6c | 65 2d 6e 61 6d 65 20 66 |urce fil|e-name f|
|00002fc0| 69 6c 65 2d 6e 61 6d 65 | 2d 64 69 72 65 63 74 6f |ile-name|-directo|
|00002fd0| 72 79 20 66 69 6c 65 2d | 6e 61 6d 65 2d 6e 6f 6e |ry file-|name-non|
|00002fe0| 64 69 72 65 63 74 6f 72 | 79 20 6c 69 73 70 2d 70 |director|y lisp-p|
|00002ff0| 72 65 76 2d 6c 2f 63 2d | 64 69 72 2f 66 69 6c 65 |rev-l/c-|dir/file|
|00003000| 20 63 6f 6d 69 6e 74 2d | 73 65 6e 64 2d 73 74 72 | comint-|send-str|
|00003010| 69 6e 67 20 69 6e 66 65 | 72 69 6f 72 2d 6c 69 73 |ing infe|rior-lis|
|00003020| 70 2d 70 72 6f 63 20 22 | 28 63 6f 6d 70 69 6c 65 |p-proc "|(compile|
|00003030| 2d 66 69 6c 65 20 5c 22 | 22 20 22 5c 22 29 5c 6e |-file \"|" "\")\n|
|00003040| 22 20 73 77 69 74 63 68 | 2d 74 6f 2d 6c 69 73 70 |" switch|-to-lisp|
|00003050| 20 74 5d 20 35 20 28 23 | 24 20 2e 20 31 32 30 36 | t] 5 (#|$ . 1206|
|00003060| 39 29 20 28 63 6f 6d 69 | 6e 74 2d 67 65 74 2d 73 |9) (comi|nt-get-s|
|00003070| 6f 75 72 63 65 20 22 43 | 6f 6d 70 69 6c 65 20 4c |ource "C|ompile L|
|00003080| 69 73 70 20 66 69 6c 65 | 3a 20 22 20 6c 69 73 70 |isp file|: " lisp|
|00003090| 2d 70 72 65 76 2d 6c 2f | 63 2d 64 69 72 2f 66 69 |-prev-l/|c-dir/fi|
|000030a0| 6c 65 20 6c 69 73 70 2d | 73 6f 75 72 63 65 2d 6d |le lisp-|source-m|
|000030b0| 6f 64 65 73 20 6e 69 6c | 29 5d 29 0a 23 40 36 34 |odes nil|)]).#@64|
|000030c0| 20 43 6f 6d 6d 61 6e 64 | 20 74 6f 20 71 75 65 72 | Command| to quer|
|000030d0| 79 20 69 6e 66 65 72 69 | 6f 72 20 4c 69 73 70 20 |y inferi|or Lisp |
|000030e0| 66 6f 72 20 61 20 66 75 | 6e 63 74 69 6f 6e 27 73 |for a fu|nction's|
|000030f0| 20 64 6f 63 75 6d 65 6e | 74 61 74 69 6f 6e 2e 1f | documen|tation..|
|00003100| 0a 28 64 65 66 76 61 72 | 20 6c 69 73 70 2d 66 75 |.(defvar| lisp-fu|
|00003110| 6e 63 74 69 6f 6e 2d 64 | 6f 63 2d 63 6f 6d 6d 61 |nction-d|oc-comma|
|00003120| 6e 64 20 22 28 6c 65 74 | 20 28 28 66 6e 20 27 25 |nd "(let| ((fn '%|
|00003130| 73 29 29 5c 6e 20 20 20 | 20 20 28 66 6f 72 6d 61 |s))\n | (forma|
|00003140| 74 20 74 20 5c 22 44 6f | 63 75 6d 65 6e 74 61 74 |t t \"Do|cumentat|
|00003150| 69 6f 6e 20 66 6f 72 20 | 7e 61 3a 7e 26 7e 61 5c |ion for |~a:~&~a\|
|00003160| 22 5c 6e 09 20 20 20 20 | 20 66 6e 20 28 64 6f 63 |"\n. | fn (doc|
|00003170| 75 6d 65 6e 74 61 74 69 | 6f 6e 20 66 6e 20 27 66 |umentati|on fn 'f|
|00003180| 75 6e 63 74 69 6f 6e 29 | 29 5c 6e 20 20 20 20 20 |unction)|)\n |
|00003190| 28 76 61 6c 75 65 73 29 | 29 5c 6e 22 20 28 23 24 |(values)|)\n" (#$|
|000031a0| 20 2e 20 31 32 34 38 31 | 29 29 0a 23 40 36 34 20 | . 12481|)).#@64 |
|000031b0| 43 6f 6d 6d 61 6e 64 20 | 74 6f 20 71 75 65 72 79 |Command |to query|
|000031c0| 20 69 6e 66 65 72 69 6f | 72 20 4c 69 73 70 20 66 | inferio|r Lisp f|
|000031d0| 6f 72 20 61 20 76 61 72 | 69 61 62 6c 65 27 73 20 |or a var|iable's |
|000031e0| 64 6f 63 75 6d 65 6e 74 | 61 74 69 6f 6e 2e 1f 0a |document|ation...|
|000031f0| 28 64 65 66 76 61 72 20 | 6c 69 73 70 2d 76 61 72 |(defvar |lisp-var|
|00003200| 2d 64 6f 63 2d 63 6f 6d | 6d 61 6e 64 20 22 28 6c |-doc-com|mand "(l|
|00003210| 65 74 20 28 28 76 20 27 | 25 73 29 29 5c 6e 20 20 |et ((v '|%s))\n |
|00003220| 20 20 20 28 66 6f 72 6d | 61 74 20 74 20 5c 22 44 | (form|at t \"D|
|00003230| 6f 63 75 6d 65 6e 74 61 | 74 69 6f 6e 20 66 6f 72 |ocumenta|tion for|
|00003240| 20 7e 61 3a 7e 26 7e 61 | 5c 22 5c 6e 09 20 20 20 | ~a:~&~a|\"\n. |
|00003250| 20 20 76 20 28 64 6f 63 | 75 6d 65 6e 74 61 74 69 | v (doc|umentati|
|00003260| 6f 6e 20 76 20 27 76 61 | 72 69 61 62 6c 65 29 29 |on v 'va|riable))|
|00003270| 5c 6e 20 20 20 20 20 28 | 76 61 6c 75 65 73 29 29 |\n (|values))|
|00003280| 5c 6e 22 20 28 23 24 20 | 2e 20 31 32 37 32 30 29 |\n" (#$ |. 12720)|
|00003290| 29 0a 23 40 35 38 20 43 | 6f 6d 6d 61 6e 64 20 74 |).#@58 C|ommand t|
|000032a0| 6f 20 71 75 65 72 79 20 | 69 6e 66 65 72 69 6f 72 |o query |inferior|
|000032b0| 20 4c 69 73 70 20 66 6f | 72 20 61 20 66 75 6e 63 | Lisp fo|r a func|
|000032c0| 74 69 6f 6e 27 73 20 61 | 72 67 6c 69 73 74 2e 1f |tion's a|rglist..|
|000032d0| 0a 28 64 65 66 76 61 72 | 20 6c 69 73 70 2d 61 72 |.(defvar| lisp-ar|
|000032e0| 67 6c 69 73 74 2d 63 6f | 6d 6d 61 6e 64 20 22 28 |glist-co|mmand "(|
|000032f0| 6c 65 74 20 28 28 66 6e | 20 27 25 73 29 29 5c 6e |let ((fn| '%s))\n|
|00003300| 20 20 20 20 20 28 66 6f | 72 6d 61 74 20 74 20 5c | (fo|rmat t \|
|00003310| 22 41 72 67 6c 69 73 74 | 20 66 6f 72 20 7e 61 3a |"Arglist| for ~a:|
|00003320| 20 7e 61 5c 22 20 66 6e | 20 28 61 72 67 6c 69 73 | ~a\" fn| (arglis|
|00003330| 74 20 66 6e 29 29 5c 6e | 20 20 20 20 20 28 76 61 |t fn))\n| (va|
|00003340| 6c 75 65 73 29 29 5c 6e | 22 20 28 23 24 20 2e 20 |lues))\n|" (#$ . |
|00003350| 31 32 39 35 31 29 29 0a | 23 40 36 34 20 43 6f 6d |12951)).|#@64 Com|
|00003360| 6d 61 6e 64 20 74 6f 20 | 71 75 65 72 79 20 69 6e |mand to |query in|
|00003370| 66 65 72 69 6f 72 20 4c | 69 73 70 20 66 6f 72 20 |ferior L|isp for |
|00003380| 61 20 76 61 72 69 61 62 | 6c 65 27 73 20 64 6f 63 |a variab|le's doc|
|00003390| 75 6d 65 6e 74 61 74 69 | 6f 6e 2e 1f 0a 28 64 65 |umentati|on...(de|
|000033a0| 66 76 61 72 20 6c 69 73 | 70 2d 64 65 73 63 72 69 |fvar lis|p-descri|
|000033b0| 62 65 2d 73 79 6d 2d 63 | 6f 6d 6d 61 6e 64 20 22 |be-sym-c|ommand "|
|000033c0| 28 64 65 73 63 72 69 62 | 65 20 27 25 73 29 5c 6e |(describ|e '%s)\n|
|000033d0| 22 20 28 23 24 20 2e 20 | 31 33 31 34 39 29 29 0a |" (#$ . |13149)).|
|000033e0| 28 64 65 66 61 6c 69 61 | 73 20 27 6c 69 73 70 2d |(defalia|s 'lisp-|
|000033f0| 73 79 6d 70 72 6f 6d 70 | 74 20 23 5b 28 70 72 6f |sympromp|t #[(pro|
|00003400| 6d 70 74 20 64 65 66 61 | 75 6c 74 29 20 22 08 83 |mpt defa|ult) "..|
|00003410| 5c 66 00 c1 c2 0b 08 23 | 82 0f 00 0b c4 50 1b c5 |\f.....#|.....P..|
|00003420| 0b 21 89 1e 06 47 c7 55 | 83 20 00 08 82 5c 22 00 |.!...G.U|. ...\".|
|00003430| 0e 06 2a 43 87 22 20 5b | 64 65 66 61 75 6c 74 20 |..*C." [|default |
|00003440| 66 6f 72 6d 61 74 20 22 | 25 73 20 28 64 65 66 61 |format "|%s (defa|
|00003450| 75 6c 74 20 25 73 29 3a | 20 22 20 70 72 6f 6d 70 |ult %s):| " promp|
|00003460| 74 20 22 3a 20 22 20 72 | 65 61 64 2d 73 74 72 69 |t ": " r|ead-stri|
|00003470| 6e 67 20 61 6e 73 20 30 | 5d 20 35 5d 29 0a 23 40 |ng ans 0|] 5]).#@|
|00003480| 31 30 31 20 52 65 74 75 | 72 6e 73 20 74 68 65 20 |101 Retu|rns the |
|00003490| 6e 61 6d 65 20 6f 66 20 | 74 68 65 20 66 75 6e 63 |name of |the func|
|000034a0| 74 69 6f 6e 20 63 61 6c | 6c 65 64 20 69 6e 20 74 |tion cal|led in t|
|000034b0| 68 65 20 63 75 72 72 65 | 6e 74 20 63 61 6c 6c 2e |he curre|nt call.|
|000034c0| 0a 54 68 65 20 76 61 6c | 75 65 20 69 73 20 6e 69 |.The val|ue is ni|
|000034d0| 6c 20 69 66 20 69 74 20 | 63 61 6e 27 74 20 66 69 |l if it |can't fi|
|000034e0| 6e 64 20 6f 6e 65 2e 1f | 0a 28 64 65 66 61 6c 69 |nd one..|.(defali|
|000034f0| 61 73 20 27 6c 69 73 70 | 2d 66 6e 2d 63 61 6c 6c |as 'lisp|-fn-call|
|00003500| 65 64 2d 61 74 2d 70 74 | 20 23 5b 6e 69 6c 20 22 |ed-at-pt| #[nil "|
|00003510| c0 c1 c2 8f 87 22 20 5b | 6e 69 6c 20 28 62 79 74 |....." [|nil (byt|
|00003520| 65 2d 63 6f 64 65 20 22 | 8a 8c 65 60 c0 5a 5d 64 |e-code "|..e`.Z]d|
|00003530| 7d 88 c1 c2 21 88 c2 75 | 88 c3 70 21 89 1c 39 85 |}...!..u|..p!..9.|
|00003540| 1b 00 5c 66 2b 87 22 20 | 5b 31 30 30 30 20 62 61 |..\f+." |[1000 ba|
|00003550| 63 6b 77 61 72 64 2d 75 | 70 2d 6c 69 73 74 20 31 |ckward-u|p-list 1|
|00003560| 20 72 65 61 64 20 6f 62 | 6a 5d 20 34 29 20 28 28 | read ob|j] 4) ((|
|00003570| 65 72 72 6f 72 29 29 5d | 20 33 20 28 23 24 20 2e |error))]| 3 (#$ .|
|00003580| 20 31 33 34 34 34 29 5d | 29 0a 28 64 65 66 61 6c | 13444)]|).(defal|
|00003590| 69 61 73 20 27 6c 69 73 | 70 2d 76 61 72 2d 61 74 |ias 'lis|p-var-at|
|000035a0| 2d 70 74 20 23 5b 6e 69 | 6c 20 22 c0 c1 c2 8f 87 |-pt #[ni|l ".....|
|000035b0| 22 20 5b 6e 69 6c 20 28 | 62 79 74 65 2d 63 6f 64 |" [nil (|byte-cod|
|000035c0| 65 20 22 8a c0 c1 21 88 | c2 c3 77 88 c4 70 21 89 |e "...!.|..w..p!.|
|000035d0| 1d 39 85 13 00 0d 2a 87 | 22 20 5b 66 6f 72 77 61 |.9....*.|" [forwa|
|000035e0| 72 64 2d 73 65 78 70 20 | 2d 31 20 22 27 22 20 6e |rd-sexp |-1 "'" n|
|000035f0| 69 6c 20 72 65 61 64 20 | 6f 62 6a 5d 20 33 29 20 |il read |obj] 3) |
|00003600| 28 28 65 72 72 6f 72 29 | 29 5d 20 33 5d 29 0a 23 |((error)|)] 3]).#|
|00003610| 40 31 31 38 20 53 65 6e | 64 20 61 20 63 6f 6d 6d |@118 Sen|d a comm|
|00003620| 61 6e 64 20 74 6f 20 74 | 68 65 20 69 6e 66 65 72 |and to t|he infer|
|00003630| 69 6f 72 20 4c 69 73 70 | 20 74 6f 20 67 69 76 65 |ior Lisp| to give|
|00003640| 20 64 6f 63 75 6d 65 6e | 74 61 74 69 6f 6e 20 66 | documen|tation f|
|00003650| 6f 72 20 66 75 6e 63 74 | 69 6f 6e 20 46 4e 2e 0a |or funct|ion FN..|
|00003660| 53 65 65 20 76 61 72 69 | 61 62 6c 65 20 60 6c 69 |See vari|able `li|
|00003670| 73 70 2d 66 75 6e 63 74 | 69 6f 6e 2d 64 6f 63 2d |sp-funct|ion-doc-|
|00003680| 63 6f 6d 6d 61 6e 64 27 | 2e 1f 0a 28 64 65 66 61 |command'|...(defa|
|00003690| 6c 69 61 73 20 27 6c 69 | 73 70 2d 73 68 6f 77 2d |lias 'li|sp-show-|
|000036a0| 66 75 6e 63 74 69 6f 6e | 2d 64 6f 63 75 6d 65 6e |function|-documen|
|000036b0| 74 61 74 69 6f 6e 20 23 | 5b 28 66 6e 29 20 22 c0 |tation #|[(fn) ".|
|000036c0| c1 20 c2 0b 5c 66 5c 22 | 5c 22 87 22 20 5b 63 6f |. ..\f\"|\"." [co|
|000036d0| 6d 69 6e 74 2d 70 72 6f | 63 2d 71 75 65 72 79 20 |mint-pro|c-query |
|000036e0| 69 6e 66 65 72 69 6f 72 | 2d 6c 69 73 70 2d 70 72 |inferior|-lisp-pr|
|000036f0| 6f 63 20 66 6f 72 6d 61 | 74 20 6c 69 73 70 2d 66 |oc forma|t lisp-f|
|00003700| 75 6e 63 74 69 6f 6e 2d | 64 6f 63 2d 63 6f 6d 6d |unction-|doc-comm|
|00003710| 61 6e 64 20 66 6e 5d 20 | 35 20 28 23 24 20 2e 20 |and fn] |5 (#$ . |
|00003720| 31 33 38 34 35 29 20 28 | 62 79 74 65 2d 63 6f 64 |13845) (|byte-cod|
|00003730| 65 20 22 c0 c1 c2 20 5c | 22 87 22 20 5b 6c 69 73 |e "... \|"." [lis|
|00003740| 70 2d 73 79 6d 70 72 6f | 6d 70 74 20 22 46 75 6e |p-sympro|mpt "Fun|
|00003750| 63 74 69 6f 6e 20 64 6f | 63 22 20 6c 69 73 70 2d |ction do|c" lisp-|
|00003760| 66 6e 2d 63 61 6c 6c 65 | 64 2d 61 74 2d 70 74 5d |fn-calle|d-at-pt]|
|00003770| 20 33 29 5d 29 0a 23 40 | 31 31 33 20 53 65 6e 64 | 3)]).#@|113 Send|
|00003780| 20 61 20 63 6f 6d 6d 61 | 6e 64 20 74 6f 20 74 68 | a comma|nd to th|
|00003790| 65 20 69 6e 66 65 72 69 | 6f 72 20 4c 69 73 70 20 |e inferi|or Lisp |
|000037a0| 74 6f 20 67 69 76 65 20 | 64 6f 63 75 6d 65 6e 74 |to give |document|
|000037b0| 61 74 69 6f 6e 20 66 6f | 72 20 66 75 6e 63 74 69 |ation fo|r functi|
|000037c0| 6f 6e 20 46 4e 2e 0a 53 | 65 65 20 76 61 72 69 61 |on FN..S|ee varia|
|000037d0| 62 6c 65 20 60 6c 69 73 | 70 2d 76 61 72 2d 64 6f |ble `lis|p-var-do|
|000037e0| 63 2d 63 6f 6d 6d 61 6e | 64 27 2e 1f 0a 28 64 65 |c-comman|d'...(de|
|000037f0| 66 61 6c 69 61 73 20 27 | 6c 69 73 70 2d 73 68 6f |falias '|lisp-sho|
|00003800| 77 2d 76 61 72 69 61 62 | 6c 65 2d 64 6f 63 75 6d |w-variab|le-docum|
|00003810| 65 6e 74 61 74 69 6f 6e | 20 23 5b 28 76 61 72 29 |entation| #[(var)|
|00003820| 20 22 c0 c1 20 c2 0b 5c | 66 5c 22 5c 22 87 22 20 | ".. ..\|f\"\"." |
|00003830| 5b 63 6f 6d 69 6e 74 2d | 70 72 6f 63 2d 71 75 65 |[comint-|proc-que|
|00003840| 72 79 20 69 6e 66 65 72 | 69 6f 72 2d 6c 69 73 70 |ry infer|ior-lisp|
|00003850| 2d 70 72 6f 63 20 66 6f | 72 6d 61 74 20 6c 69 73 |-proc fo|rmat lis|
|00003860| 70 2d 76 61 72 2d 64 6f | 63 2d 63 6f 6d 6d 61 6e |p-var-do|c-comman|
|00003870| 64 20 76 61 72 5d 20 35 | 20 28 23 24 20 2e 20 31 |d var] 5| (#$ . 1|
|00003880| 34 32 30 34 29 20 28 62 | 79 74 65 2d 63 6f 64 65 |4204) (b|yte-code|
|00003890| 20 22 c0 c1 c2 20 5c 22 | 87 22 20 5b 6c 69 73 70 | "... \"|." [lisp|
|000038a0| 2d 73 79 6d 70 72 6f 6d | 70 74 20 22 56 61 72 69 |-symprom|pt "Vari|
|000038b0| 61 62 6c 65 20 64 6f 63 | 22 20 6c 69 73 70 2d 76 |able doc|" lisp-v|
|000038c0| 61 72 2d 61 74 2d 70 74 | 5d 20 33 29 5d 29 0a 23 |ar-at-pt|] 3)]).#|
|000038d0| 40 31 30 35 20 53 65 6e | 64 20 61 20 71 75 65 72 |@105 Sen|d a quer|
|000038e0| 79 20 74 6f 20 74 68 65 | 20 69 6e 66 65 72 69 6f |y to the| inferio|
|000038f0| 72 20 4c 69 73 70 20 66 | 6f 72 20 74 68 65 20 61 |r Lisp f|or the a|
|00003900| 72 67 6c 69 73 74 20 66 | 6f 72 20 66 75 6e 63 74 |rglist f|or funct|
|00003910| 69 6f 6e 20 46 4e 2e 0a | 53 65 65 20 76 61 72 69 |ion FN..|See vari|
|00003920| 61 62 6c 65 20 60 6c 69 | 73 70 2d 61 72 67 6c 69 |able `li|sp-argli|
|00003930| 73 74 2d 63 6f 6d 6d 61 | 6e 64 27 2e 1f 0a 28 64 |st-comma|nd'...(d|
|00003940| 65 66 61 6c 69 61 73 20 | 27 6c 69 73 70 2d 73 68 |efalias |'lisp-sh|
|00003950| 6f 77 2d 61 72 67 6c 69 | 73 74 20 23 5b 28 66 6e |ow-argli|st #[(fn|
|00003960| 29 20 22 c0 c1 20 c2 0b | 5c 66 5c 22 5c 22 87 22 |) ".. ..|\f\"\"."|
|00003970| 20 5b 63 6f 6d 69 6e 74 | 2d 70 72 6f 63 2d 71 75 | [comint|-proc-qu|
|00003980| 65 72 79 20 69 6e 66 65 | 72 69 6f 72 2d 6c 69 73 |ery infe|rior-lis|
|00003990| 70 2d 70 72 6f 63 20 66 | 6f 72 6d 61 74 20 6c 69 |p-proc f|ormat li|
|000039a0| 73 70 2d 61 72 67 6c 69 | 73 74 2d 63 6f 6d 6d 61 |sp-argli|st-comma|
|000039b0| 6e 64 20 66 6e 5d 20 35 | 20 28 23 24 20 2e 20 31 |nd fn] 5| (#$ . 1|
|000039c0| 34 35 34 39 29 20 28 62 | 79 74 65 2d 63 6f 64 65 |4549) (b|yte-code|
|000039d0| 20 22 c0 c1 c2 20 5c 22 | 87 22 20 5b 6c 69 73 70 | "... \"|." [lisp|
|000039e0| 2d 73 79 6d 70 72 6f 6d | 70 74 20 22 41 72 67 6c |-symprom|pt "Argl|
|000039f0| 69 73 74 22 20 6c 69 73 | 70 2d 66 6e 2d 63 61 6c |ist" lis|p-fn-cal|
|00003a00| 6c 65 64 2d 61 74 2d 70 | 74 5d 20 33 29 5d 29 0a |led-at-p|t] 3)]).|
|00003a10| 23 40 31 30 33 20 53 65 | 6e 64 20 61 20 63 6f 6d |#@103 Se|nd a com|
|00003a20| 6d 61 6e 64 20 74 6f 20 | 74 68 65 20 69 6e 66 65 |mand to |the infe|
|00003a30| 72 69 6f 72 20 4c 69 73 | 70 20 74 6f 20 64 65 73 |rior Lis|p to des|
|00003a40| 63 72 69 62 65 20 73 79 | 6d 62 6f 6c 20 53 59 4d |cribe sy|mbol SYM|
|00003a50| 2e 0a 53 65 65 20 76 61 | 72 69 61 62 6c 65 20 60 |..See va|riable `|
|00003a60| 6c 69 73 70 2d 64 65 73 | 63 72 69 62 65 2d 73 79 |lisp-des|cribe-sy|
|00003a70| 6d 2d 63 6f 6d 6d 61 6e | 64 27 2e 1f 0a 28 64 65 |m-comman|d'...(de|
|00003a80| 66 61 6c 69 61 73 20 27 | 6c 69 73 70 2d 64 65 73 |falias '|lisp-des|
|00003a90| 63 72 69 62 65 2d 73 79 | 6d 20 23 5b 28 73 79 6d |cribe-sy|m #[(sym|
|00003aa0| 29 20 22 c0 c1 20 c2 0b | 5c 66 5c 22 5c 22 87 22 |) ".. ..|\f\"\"."|
|00003ab0| 20 5b 63 6f 6d 69 6e 74 | 2d 70 72 6f 63 2d 71 75 | [comint|-proc-qu|
|00003ac0| 65 72 79 20 69 6e 66 65 | 72 69 6f 72 2d 6c 69 73 |ery infe|rior-lis|
|00003ad0| 70 2d 70 72 6f 63 20 66 | 6f 72 6d 61 74 20 6c 69 |p-proc f|ormat li|
|00003ae0| 73 70 2d 64 65 73 63 72 | 69 62 65 2d 73 79 6d 2d |sp-descr|ibe-sym-|
|00003af0| 63 6f 6d 6d 61 6e 64 20 | 73 79 6d 5d 20 35 20 28 |command |sym] 5 (|
|00003b00| 23 24 20 2e 20 31 34 38 | 37 30 29 20 28 62 79 74 |#$ . 148|70) (byt|
|00003b10| 65 2d 63 6f 64 65 20 22 | c0 c1 c2 20 5c 22 87 22 |e-code "|... \"."|
|00003b20| 20 5b 6c 69 73 70 2d 73 | 79 6d 70 72 6f 6d 70 74 | [lisp-s|ymprompt|
|00003b30| 20 22 44 65 73 63 72 69 | 62 65 22 20 6c 69 73 70 | "Descri|be" lisp|
|00003b40| 2d 76 61 72 2d 61 74 2d | 70 74 5d 20 33 29 5d 29 |-var-at-|pt] 3)])|
|00003b50| 0a 28 64 65 66 61 6c 69 | 61 73 20 27 69 6e 66 65 |.(defali|as 'infe|
|00003b60| 72 69 6f 72 2d 6c 69 73 | 70 2d 70 72 6f 63 20 23 |rior-lis|p-proc #|
|00003b70| 5b 6e 69 6c 20 22 c0 09 | c2 3d 83 0b 00 70 82 5c |[nil "..|.=...p.\|
|00003b80| 66 00 0b 21 89 1c 86 15 | 00 c5 c6 21 29 87 22 20 |f..!....|...!)." |
|00003b90| 5b 67 65 74 2d 62 75 66 | 66 65 72 2d 70 72 6f 63 |[get-buf|fer-proc|
|00003ba0| 65 73 73 20 6d 61 6a 6f | 72 2d 6d 6f 64 65 20 69 |ess majo|r-mode i|
|00003bb0| 6e 66 65 72 69 6f 72 2d | 6c 69 73 70 2d 6d 6f 64 |nferior-|lisp-mod|
|00003bc0| 65 20 69 6e 66 65 72 69 | 6f 72 2d 6c 69 73 70 2d |e inferi|or-lisp-|
|00003bd0| 62 75 66 66 65 72 20 70 | 72 6f 63 20 65 72 72 6f |buffer p|roc erro|
|00003be0| 72 20 22 4e 6f 20 4c 69 | 73 70 20 73 75 62 70 72 |r "No Li|sp subpr|
|00003bf0| 6f 63 65 73 73 3b 20 73 | 65 65 20 76 61 72 69 61 |ocess; s|ee varia|
|00003c00| 62 6c 65 20 60 69 6e 66 | 65 72 69 6f 72 2d 6c 69 |ble `inf|erior-li|
|00003c10| 73 70 2d 62 75 66 66 65 | 72 27 22 5d 20 34 5d 29 |sp-buffe|r'"] 4])|
|00003c20| 0a 23 40 39 38 20 54 68 | 69 73 20 68 6f 6f 6b 20 |.#@98 Th|is hook |
|00003c30| 69 73 20 72 75 6e 20 77 | 68 65 6e 20 74 68 65 20 |is run w|hen the |
|00003c40| 6c 69 62 72 61 72 79 20 | 60 69 6e 66 2d 6c 69 73 |library |`inf-lis|
|00003c50| 70 27 20 69 73 20 6c 6f | 61 64 65 64 2e 0a 54 68 |p' is lo|aded..Th|
|00003c60| 69 73 20 69 73 20 61 20 | 67 6f 6f 64 20 70 6c 61 |is is a |good pla|
|00003c70| 63 65 20 74 6f 20 70 75 | 74 20 6b 65 79 62 69 6e |ce to pu|t keybin|
|00003c80| 64 69 6e 67 73 2e 1f 0a | 28 64 65 66 76 61 72 20 |dings...|(defvar |
|00003c90| 69 6e 66 65 72 69 6f 72 | 2d 6c 69 73 70 2d 6c 6f |inferior|-lisp-lo|
|00003ca0| 61 64 2d 68 6f 6f 6b 20 | 6e 69 6c 20 28 23 24 20 |ad-hook |nil (#$ |
|00003cb0| 2e 20 31 35 33 39 38 29 | 29 0a 28 62 79 74 65 2d |. 15398)|).(byte-|
|00003cc0| 63 6f 64 65 20 22 c0 c1 | 21 88 c2 c3 21 87 22 20 |code "..|!...!." |
|00003cd0| 5b 72 75 6e 2d 68 6f 6f | 6b 73 20 69 6e 66 65 72 |[run-hoo|ks infer|
|00003ce0| 69 6f 72 2d 6c 69 73 70 | 2d 6c 6f 61 64 2d 68 6f |ior-lisp|-load-ho|
|00003cf0| 6f 6b 20 70 72 6f 76 69 | 64 65 20 69 6e 66 2d 6c |ok provi|de inf-l|
|00003d00| 69 73 70 5d 20 32 29 0a | |isp] 2).| |
+--------+-------------------------+-------------------------+--------+--------+